/* ==========================================================================
   CONSULTORÍA SIGAP - 2026 GEO-TECH DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070a11;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(22, 34, 60, 0.85);
  --glass-border: rgba(229, 178, 9, 0.18);
  --glass-border-hover: rgba(229, 178, 9, 0.45);
  
  /* Brand Colors */
  --gold-primary: #e5b209;
  --gold-light: #ffc72c;
  --gold-dark: #b88b00;
  --gold-glow: rgba(229, 178, 9, 0.35);
  
  /* Accent Colors */
  --blue-accent: #38bdf8;
  --green-accent: #10b981;
  --purple-accent: #a855f7;
  
  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-gold: 0 0 25px rgba(229, 178, 9, 0.25);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #111a2e 0%, #070a11 70%);
}

main, section, footer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#gis-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* ==========================================================================
   UTILITY CLASSES & GLASSMORPHISM
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 178, 9, 0.15);
  transform: translateY(-4px);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(229, 178, 9, 0.1);
  border: 1px solid rgba(229, 178, 9, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #070a11;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffe074 0%, var(--gold-light) 100%);
  box-shadow: 0 6px 28px rgba(229, 178, 9, 0.5);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(229, 178, 9, 0.15);
  color: #ffffff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
}

.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.1rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(7, 10, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 178, 9, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drone-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px var(--gold-primary));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

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

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

.badge-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-pulse {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(229, 178, 9, 0.4);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 178, 9, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(229, 178, 9, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 178, 9, 0); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(229, 178, 9, 0.12);
  top: 10%;
  left: 20%;
}

.hero-glow-2 {
  width: 600px;
  height: 600px;
  background: rgba(16, 185, 129, 0.08);
  bottom: 0;
  right: 10%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(229, 178, 9, 0.1);
  border: 1px solid rgba(229, 178, 9, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.badge-icon {
  color: var(--gold-primary);
  font-size: 0.9rem;
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-highlights {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Visual Component in Hero */
.hero-visual {
  position: relative;
}

.hero-card-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--gold-glow), rgba(56, 189, 248, 0.2));
  border-radius: var(--radius-lg);
  filter: blur(30px);
  z-index: 0;
}

.hero-tech-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-hover);
}

.card-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(7, 10, 17, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.card-title-bar {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-left: auto;
}

.card-body-graphic {
  position: relative;
  height: 380px;
  background: radial-gradient(circle at center, #131e36 0%, #080c14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Radar & Nodes animation */
.spatial-radar {
  position: relative;
  width: 220px;
  height: 220px;
  border: 1px stroke rgba(229, 178, 9, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(229, 178, 9, 0.1);
}

.spatial-radar::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 1px dashed rgba(229, 178, 9, 0.3);
  border-radius: 50%;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 70%, rgba(229, 178, 9, 0.4) 100%);
  animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
  100% { transform: rotate(360deg); }
}

.radar-node {
  position: absolute;
  width: 32px;
  height: 32px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 0 12px var(--gold-glow);
}

.node-1 { top: 20px; left: 30px; }
.node-2 { bottom: 40px; right: 20px; }
.node-3 { top: 50%; right: -10px; }

.floating-data-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.floating-data-pill i {
  font-size: 1.4rem;
  color: var(--gold-primary);
}

.floating-data-pill strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.floating-data-pill small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pill-1 { top: 30px; left: 20px; animation: float-slow 4s ease-in-out infinite; }
.pill-2 { bottom: 30px; right: 20px; animation: float-slow 5s ease-in-out infinite reverse; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -30px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.stat-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-plus {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-card {
  padding: 28px;
  margin-bottom: 20px;
}

.about-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(229, 178, 9, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.about-stats-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}

.media-container {
  padding: 20px;
}

.video-preview-wrapper {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #080c14;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  cursor: pointer;
}

.video-preview-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.video-preview-wrapper.playing video {
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 17, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: var(--transition-fast);
  z-index: 2;
}

.video-preview-wrapper:hover .video-overlay {
  background: rgba(7, 10, 17, 0.4);
}

.play-btn-pulse {
  width: 64px;
  height: 64px;
  background: var(--gold-primary);
  color: #070a11;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 30px var(--gold-glow);
  transition: var(--transition-fast);
}

.video-preview-wrapper:hover .play-btn-pulse {
  transform: scale(1.1);
}

.video-overlay span {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #ffffff;
}

.video-mock-screen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #1b2845 0%, #080c14 100%);
}

.mock-grid {
  width: 100%;
  height: 100%;
  background-size: 30px 30px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.mock-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--gold-light);
}

.about-footer-quote {
  position: relative;
  padding-left: 36px;
}

.quote-icon {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--gold-primary);
}

.about-footer-quote p {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   UBI-K2 SECTION
   ========================================================================== */
.ubik2-section {
  position: relative;
}

.ubik2-bg-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(229, 178, 9, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ubik2-header {
  padding: 40px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ubik2-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ubik2-logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-pin {
  font-size: 2.2rem;
  color: var(--gold-primary);
}

.ubik2-name {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
}

.superscript {
  font-size: 1.8rem;
  color: var(--gold-primary);
  vertical-align: super;
}

.ubik2-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.ubik2-intro {
  max-width: 600px;
}

.ubik2-intro h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.ubik2-intro p {
  color: var(--text-muted);
  font-size: 1rem;
}

.highlight-gold {
  color: var(--gold-light);
  font-weight: 700;
}

.ubik2-modules-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mod-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(229, 178, 9, 0.1);
  border: 1px solid rgba(229, 178, 9, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.mod-tag:hover {
  background: rgba(229, 178, 9, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Showcase Tabs */
.ubik2-showcase {
  padding: 24px;
  overflow: hidden;
}

.showcase-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.showcase-tab.active {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #070a11;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

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

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.tab-text {
  padding: 10px;
}

.tab-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.tab-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.tab-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.tab-bullets {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Mockup Windows */
.mockup-window {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-url {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 12px;
  border-radius: 4px;
  margin-left: 10px;
}

.mockup-body {
  padding: 24px;
  min-height: 280px;
}

.dashboard-widget-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.widget-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-metric small { color: var(--text-muted); font-size: 0.85rem; }
.widget-metric h4 { font-size: 1.4rem; color: var(--gold-light); }
.badge-trend { padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.badge-trend.green { background: rgba(16, 185, 129, 0.15); color: var(--green-accent); }

/* Mock Map Body */
.mock-map-body {
  position: relative;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  height: 280px;
}

.map-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 25px 25px;
  background-image: 
    linear-gradient(to right, rgba(229, 178, 9, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(229, 178, 9, 0.08) 1px, transparent 1px);
}

.map-polygon {
  position: absolute;
  border: 2px stroke var(--gold-primary);
  background: rgba(229, 178, 9, 0.15);
}

.poly-1 { top: 40px; left: 40px; width: 100px; height: 80px; border-radius: 4px; }
.poly-2 { bottom: 30px; right: 50px; width: 140px; height: 90px; border-radius: 4px; }

.map-pin-active {
  position: absolute;
  top: 70px;
  left: 70px;
  background: var(--gold-primary);
  color: #070a11;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 15px var(--gold-primary);
}

/* Mock Table */
.mock-table { display: flex; flex-direction: column; gap: 8px; }
.table-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; background: rgba(255, 255, 255, 0.02); font-size: 0.85rem; border-radius: 4px; }
.table-row.head { font-weight: 700; color: var(--text-muted); background: transparent; }
.badge-status { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; width: max-content; }
.badge-status.green { background: rgba(16, 185, 129, 0.2); color: var(--green-accent); }
.badge-status.yellow { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }

/* Mock Cemetery */
.grave-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.grave-cell { padding: 16px; border-radius: 6px; text-align: center; font-size: 0.8rem; font-weight: 700; }
.grave-cell.occupied { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171; }
.grave-cell.free { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--green-accent); }

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--gold-primary);
  color: #070a11;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(229, 178, 9, 0.1);
  border: 1px solid rgba(229, 178, 9, 0.3);
  color: var(--gold-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--gold-primary);
  color: #070a11;
  box-shadow: 0 0 20px var(--gold-glow);
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   TRAINING SECTION
   ========================================================================== */
.training-box {
  padding: 60px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(229, 178, 9, 0.08) 100%);
}

.training-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.training-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.training-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.training-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.t-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
}

.t-feature i {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

/* ==========================================================================
   CLIENTS SECTION
   ========================================================================== */
.clients-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.client-tab {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.client-tab.active {
  background: rgba(229, 178, 9, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.client-group {
  display: none;
}

.client-group.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.client-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.client-card {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.client-badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.client-card h4 {
  font-size: 1.05rem;
}

.client-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-form-wrapper {
  padding: 40px;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--gold-primary);
  font-size: 1rem;
}

.input-icon-wrapper input,
.input-icon-wrapper textarea {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(7, 10, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.textarea-wrapper i {
  top: 18px;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.form-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--green-accent);
  color: var(--green-accent);
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card h3 {
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(229, 178, 9, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

}

.info-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-card {
  padding: 20px;
  overflow: hidden;
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-text {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.map-frame-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 70px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 0.9rem;
}

.footer-socials a:hover {
  background: var(--gold-primary);
  color: #070a11;
  box-shadow: 0 0 15px var(--gold-glow);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-services li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(7, 10, 17, 0.9);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ==========================================================================
   SOFTWARE FACTORY SECTION
   ========================================================================== */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.factory-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.factory-card-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .factory-card-wide { grid-column: span 1; }
}

.factory-icon {
  width: 52px;
  height: 52px;
  background: rgba(229, 178, 9, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-fast);
}

.factory-card:hover .factory-icon {
  background: var(--gold-primary);
  color: #070a11;
  box-shadow: 0 0 20px var(--gold-glow);
}

.factory-card h3 {
  font-size: 1.3rem;
  color: var(--text-main);
}

.factory-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Poliza Accountability Highlight Box */
.poliza-accountability-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(229, 178, 9, 0.12) 100%);
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--radius-lg);
}

.poliza-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.poliza-badge-icon {
  width: 56px;
  height: 56px;
  background: rgba(229, 178, 9, 0.15);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.poliza-header h3 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.poliza-header p {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.poliza-body p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.6;
}

.poliza-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.poliza-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.poliza-action {
  display: flex;
  justify-content: flex-start;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
/* Navigation Overlay & Close Button */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 17, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-close {
  display: none;
}

@media (max-width: 1024px) {
  .hero-container,
  .about-grid,
  .ubik2-header,
  .tab-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title { font-size: 2.8rem; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-actions .btn { display: none; }
  .nav-toggle { display: block; }

  .header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 10, 17, 0.98);
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 100000;
  }

  .nav-close:hover {
    background: rgba(229, 178, 9, 0.2);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: rotate(90deg);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(7, 10, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 30px 40px;
    transition: transform var(--transition-normal), visibility var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.9);
    transform: translateX(100%);
    visibility: hidden;
    z-index: 99999;
  }
  
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .training-box { padding: 30px 20px; }
  .stats-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}
