/* ==========================================================================
   RGUARD - MODERN SECURITY & IT THEME
   ========================================================================== */

:root {
  --bg-main: #060911;
  --bg-secondary: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 240, 255, 0.3);

  /* Primary Cyber & Security Colors */
  --cyan-accent: #00f0ff;
  --blue-primary: #3b82f6;
  --purple-accent: #8b5cf6;
  --emerald-success: #10b981;
  --amber-warning: #f59e0b;
  --red-alert: #ef4444;

  /* Gradients */
  --gradient-cyan-blue: linear-gradient(135deg, #00f0ff 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-card-glow: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  --gradient-btn: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Text Colors */
  --text-white: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --nav-height: 80px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

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

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

/* Ambient Background Lights */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.glow-blue {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #1d4ed8, transparent 70%);
  top: -150px;
  left: -150px;
}

.glow-cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00f0ff, transparent 70%);
  top: 35%;
  right: -150px;
}

.glow-purple {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  bottom: -150px;
  left: 20%;
}

/* Common Layout Containers */
.section-container, .nav-container, .hero-container, .stats-container, .footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.gradient-text {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-cyan-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050811;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan-accent);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan-accent);
}

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

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-whatsapp-nav:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 4.5rem;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-primary {
  background: var(--gradient-cyan-blue);
  color: #060911;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Radar & Dashboard Visual Card */
.radar-card {
  padding: 2rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.05), rgba(15, 23, 42, 0.9) 70%);
  position: relative;
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.radar-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-success);
  box-shadow: 0 0 10px var(--emerald-success);
}

.status-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-accent);
}

.radar-time {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.security-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.sec-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  transition: all 0.25s ease;
}

.sec-item:hover {
  border-color: var(--border-hover);
  background: rgba(0, 240, 255, 0.04);
}

.sec-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
}

.sec-icon svg {
  width: 20px;
  height: 20px;
}

.sec-info {
  flex: 1;
}

.sec-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

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

.sec-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.sec-badge.ok {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sec-badge.alert {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.radar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.support-contact span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.support-contact strong {
  font-size: 0.9rem;
  color: var(--emerald-success);
}

.btn-ping {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan-accent);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ping:hover {
  background: var(--cyan-accent);
  color: #060911;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  padding: 2.5rem 0;
  background: rgba(11, 17, 32, 0.6);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 45px;
  background: var(--border-color);
}

/* ==========================================================================
   BRANDS & PARTNERS SECTION - LUXURY HARDWARE SHOWCASE
   ========================================================================== */
.brands-section {
  padding: 5rem 0 4.5rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.04) 0%, rgba(4, 6, 11, 0.9) 60%), #04060b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.brands-header-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

.brands-mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan-accent);
  background: rgba(0, 240, 255, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brands-title-main {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.brands-subtitle-main {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Luxury Grid */
.brands-luxury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.brand-luxury-card {
  background: linear-gradient(165deg, rgba(17, 24, 43, 0.7) 0%, rgba(8, 12, 22, 0.85) 100%);
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.brand-luxury-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(165deg, rgba(25, 36, 64, 0.8) 0%, rgba(10, 16, 30, 0.95) 100%);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.brand-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-name-bold {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.brand-specialty {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Status LED Dots */
.brand-tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cyan-dot { background: #00f0ff; box-shadow: 0 0 10px #00f0ff; }
.blue-dot { background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }
.amber-dot { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.red-dot { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.emerald-dot { background: #10b981; box-shadow: 0 0 10px #10b981; }
.purple-dot { background: #c084fc; box-shadow: 0 0 10px #c084fc; }


/* ==========================================================================
   SHOWCASE DE INSTALACIONES (DISEÑO PROFESIONAL & RESPONSIVE)
   ========================================================================== */
.projects-section {
  padding: 6.5rem 0 4rem 0;
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Base Card */
.showcase-card {
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(16, 23, 42, 0.88) 0%, rgba(8, 12, 22, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
}

.showcase-cyan:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.12);
}

.showcase-amber:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.12);
}

.showcase-purple:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(168, 85, 247, 0.12);
}

/* Visual Header Area */
.showcase-visual {
  height: 150px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  overflow: hidden;
}

.bg-cctv-art {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(6, 9, 17, 0.95) 100%), radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.3), transparent 70%);
}

.bg-cerco-art {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.45) 0%, rgba(6, 9, 17, 0.95) 100%), radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.3), transparent 70%);
}

.bg-redes-art {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(6, 9, 17, 0.95) 100%), radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.3), transparent 70%);
}

.showcase-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.badge-cat {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(6, 10, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.showcase-cyan .badge-cat { color: var(--cyan-accent); border-color: rgba(0, 240, 255, 0.35); }
.showcase-amber .badge-cat { color: #fbbf24; border-color: rgba(245, 158, 11, 0.35); }
.showcase-purple .badge-cat { color: #c084fc; border-color: rgba(168, 85, 247, 0.35); }

.badge-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.showcase-specs-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.showcase-specs-row span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(6, 10, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

/* Card Body */
.showcase-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.showcase-location {
  font-size: 0.82rem;
  color: var(--cyan-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.showcase-amber .showcase-location { color: #fbbf24; }
.showcase-purple .showcase-location { color: #c084fc; }

/* Specs List - Perfectly Aligned */
.showcase-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.showcase-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.showcase-specs-list li strong {
  color: #f1f5f9;
}

.spec-bullet-icon {
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Action Button */
.btn-showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.btn-showcase-cyan {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyan-accent);
}

.btn-showcase-cyan:hover {
  background: var(--cyan-accent);
  color: #060911;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-showcase-amber {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.btn-showcase-amber:hover {
  background: #f59e0b;
  color: #060911;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.btn-showcase-purple {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.btn-showcase-purple:hover {
  background: #a855f7;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.arrow-sym {
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.btn-showcase:hover .arrow-sym {
  transform: translateX(4px);
}
.services-section {
  padding: 6.5rem 0;
}

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

.service-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 25px 50px -10px rgba(0, 240, 255, 0.15);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.75rem;
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
}

.cyan-gradient {
  background: linear-gradient(135deg, #00f0ff, #0284c7);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
}

.amber-gradient {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

.red-gradient {
  background: linear-gradient(135deg, #f87171, #dc2626);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}

.purple-gradient {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
}

.green-gradient {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.35);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.9rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-list li {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.check-icon {
  color: var(--cyan-accent);
  font-weight: bold;
}

.service-cta {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-cta:hover {
  color: #fff;
  transform: translateX(4px);
}

/* ==========================================================================
   CALCULATOR & BUDGET SECTION
   ========================================================================== */
.calculator-section {
  padding: 4.5rem 0 6.5rem 0;
}

.calculator-card {
  padding: 3.5rem 3rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.calc-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.calc-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

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

.calc-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

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

.prop-btn {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prop-btn:hover {
  border-color: rgba(0, 240, 255, 0.3);
  color: #fff;
}

.prop-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.services-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.check-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.check-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--cyan-accent);
  cursor: pointer;
}

.check-box-content {
  display: flex;
  flex-direction: column;
}

.check-title {
  font-weight: 600;
  color: #fff;
  font-size: 0.98rem;
}

.check-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sub-option {
  margin-left: 2.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan-accent);
}

.sub-option.hidden {
  display: none;
}

.localidad-otra-group {
  grid-column: 1 / -1;
  margin-left: 0;
}

.calc-wide-field {
  grid-column: 1 / -1;
  margin-left: 0;
}

.sub-option label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.calc-select {
  width: 100%;
  background: #080d1a;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.calc-textarea {
  min-height: 5.5rem;
  resize: vertical;
  font-family: inherit;
}

.calc-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

/* Summary Card */
.calc-summary {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.08), rgba(15, 23, 42, 0.9) 70%);
}

.summary-header {
  margin-bottom: 1.5rem;
}

.summary-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 0.35rem;
}

.summary-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.summary-details {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.summary-label {
  color: var(--text-muted);
}

.summary-value {
  font-weight: 600;
  color: #fff;
  text-align: right;
}

.summary-perks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.perk-item {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.perk-icon {
  color: var(--emerald-success);
  font-weight: bold;
}

.btn-whatsapp-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  width: 100%;
}

.btn-whatsapp-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
  filter: brightness(1.1);
}

.quote-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: -0.6rem 0 1rem;
}

.quote-actions {
  display: grid;
  gap: 0.65rem;
}

.btn-copy-quote {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(8, 24, 44, 0.65);
  color: #d8f9ff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-copy-quote:hover {
  background: rgba(14, 48, 80, 0.8);
  border-color: var(--cyan-accent);
}

.quote-feedback {
  min-height: 1.2rem;
  margin-top: 0.6rem;
  color: #86efac;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 560px) {
  .calc-details-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SIMULATOR & LIVE DEMO (WOW FACTOR)
   ========================================================================== */
.demo-section {
  padding: 5.5rem 0;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
}

.simulator-wrapper {
  padding: 2.5rem;
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.08);
}

.sim-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.sim-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sim-tab:hover {
  border-color: var(--cyan-accent);
  color: #fff;
}

.sim-tab.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.sim-screen {
  background: #020408;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.sim-view {
  display: none;
  height: 100%;
  min-height: 380px;
}

.sim-view.active {
  display: flex;
  flex-direction: column;
}

/* CCTV HUD View */
.view-cctv {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), radial-gradient(circle at 60% 40%, #1e293b, #090d16 80%);
  position: relative;
}

.view-cctv.night-mode {
  background: linear-gradient(rgba(0, 20, 10, 0.6), rgba(0, 0, 0, 0.85)), radial-gradient(circle at 60% 40%, #064e3b, #022c22 80%);
  filter: contrast(1.15) brightness(1.1);
}

.cctv-hud {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 380px;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.hud-top, .hud-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hud-tag {
  font-family: monospace;
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  animation: blink 1.2s infinite;
}

.hud-time {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--cyan-accent);
}

.cctv-lens-overlay {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cctv-target-box {
  width: 180px;
  height: 140px;
  border: 2px dashed var(--cyan-accent);
  border-radius: 8px;
  position: relative;
  animation: scanTarget 4s ease-in-out infinite alternate;
}

@keyframes scanTarget {
  0% { transform: translate(-30px, -10px); border-color: var(--cyan-accent); }
  100% { transform: translate(30px, 15px); border-color: #10b981; }
}

.target-label {
  position: absolute;
  top: -24px;
  left: 0;
  background: var(--cyan-accent);
  color: #060911;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: monospace;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.crosshair {
  position: absolute;
  width: 40px;
  height: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.cctv-controls {
  display: flex;
  gap: 0.75rem;
}

.btn-hud {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hud:hover, .btn-hud.active {
  background: var(--cyan-accent);
  color: #060911;
  border-color: var(--cyan-accent);
}

.btn-hud.btn-danger {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.btn-hud.btn-danger:hover {
  background: #ef4444;
  color: #fff;
}

.hud-res {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Cerco HUD View */
.view-cerco {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cerco-status-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cerco-metric {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-family: monospace;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cerco-visualizer {
  height: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 1.5rem 0;
  padding: 0 1rem;
}

.fence-wire {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #64748b, #cbd5e1, #64748b);
  position: relative;
}

.energy-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan-accent), transparent);
  animation: pulseWire 2s infinite linear;
}

@keyframes pulseWire {
  0% { left: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.cerco-actions {
  text-align: center;
}

/* Redes HUD View */
.view-red {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.net-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.net-node {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  flex: 1;
  max-width: 220px;
}

.node-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.net-node h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.net-node p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.net-line {
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-accent), var(--blue-primary));
  position: relative;
  margin: 0 1rem;
}

.net-line.active::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 10px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  animation: dataFlow 1.8s infinite linear;
}

@keyframes dataFlow {
  0% { left: 0; }
  100% { left: 100%; }
}

.net-stats-bar {
  display: flex;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.net-stats-bar strong {
  color: var(--cyan-accent);
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0,240,255,0.03) 0%, rgba(59,130,246,0.04) 50%, rgba(139,92,246,0.03) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-counter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-counter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,240,255,0.2);
}

.stat-icon {
  font-size: 2rem;
  line-height: 1;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
  max-width: 130px;
}

/* ==========================================================================
   GUARANTEE BANNER
   ========================================================================== */
.guarantee-section {
  padding: 3rem 0;
}

.guarantee-banner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 2.5rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.07) 0%, rgba(15,23,42,0.85) 50%, rgba(59,130,246,0.07) 100%);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35), 0 0 30px rgba(16,185,129,0.06);
  flex-wrap: wrap;
}

.guarantee-icon {
  font-size: 3rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(16,185,129,0.5));
}

.guarantee-text {
  flex: 1;
  min-width: 240px;
}

.guarantee-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.guarantee-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.guarantee-badges {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
}

/* ==========================================================================
   TESTIMONIALS SECTION (GOOGLE REVIEWS DE ALTA GAMA)
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(66, 133, 244, 0.04) 0%, transparent 60%);
}

/* Compact Google Trust Bar */
.google-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto 2.5rem auto;
  max-width: fit-content;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.trust-logo-side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-rating-stars {
  color: #fbbc04;
  font-size: 1.15rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 6px rgba(251, 188, 4, 0.5));
}

.trust-score {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-info-side {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.trust-info-side strong {
  color: #f1f5f9;
}

/* Filter Segment Control */
.test-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px;
  border-radius: 9999px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.test-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.test-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.test-filter-btn.active {
  background: var(--cyan-accent);
  color: #060911;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* Reviews Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* Luxury Google Review Card */
.test-card {
  background: linear-gradient(165deg, rgba(16, 24, 43, 0.75) 0%, rgba(8, 12, 22, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.test-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.1);
}

.test-card.hidden {
  display: none;
}

.card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Header */
.test-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.avatar-blue {
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
  color: #060911;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.avatar-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.avatar-emerald {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
  color: #060911;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.avatar-amber {
  background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
  color: #060911;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.test-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.user-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.user-name-row h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.test-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.test-loc em {
  font-style: normal;
  color: var(--text-dim);
}

/* Stars & Google Source Row */
.review-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stars-gold {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 4px rgba(251, 188, 4, 0.5));
}

.google-source {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* Comment text */
.test-comment {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Footer Tags */
.test-footer-tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.spec-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #a5f3fc;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}


.why-us-section {
  padding: 6.5rem 0;
  background: rgba(11, 17, 32, 0.4);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 6.5rem 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.35);
}

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

.faq-chevron {
  font-size: 1.5rem;
  color: var(--cyan-accent);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 4rem 0 6.5rem 0;
}

.contact-wrapper {
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.mail-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.zone-icon {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
}

.contact-card-text {
  display: flex;
  flex-direction: column;
}

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

.card-val {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Contact Form */
.contact-form {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  border-radius: var(--radius-md);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: #080c16;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-accent);
}

.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-feedback.hidden {
  display: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem 0;
}

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

.footer-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--cyan-accent);
}

.footer-schedule {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.text-success {
  color: var(--emerald-success);
  font-weight: 600;
}

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

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

.floating-wa-tooltip {
  position: absolute;
  right: 75px;
  background: #0f172a;
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(10px);
  pointer-events: none;
}

.floating-wa:hover .floating-wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ==========================================================================
   RGUARD IMMERSIVE CONTROL CENTER
   ========================================================================== */
.demo-section { padding: 6rem 0; position: relative; background: radial-gradient(circle at 50% 42%, rgba(0, 240, 255, 0.1), transparent 28%), radial-gradient(circle at 12% 60%, rgba(59, 130, 246, 0.08), transparent 28%); }
.simulator-wrapper { padding: 1.25rem; border-color: rgba(0, 240, 255, 0.28); background: linear-gradient(135deg, rgba(15, 31, 50, 0.9), rgba(4, 9, 18, 0.94)); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 60px rgba(0, 240, 255, 0.1); position: relative; overflow: hidden; }
.simulator-wrapper::before { content: ''; position: absolute; width: 22rem; height: 22rem; top: -15rem; right: -8rem; border-radius: 50%; border: 1px solid rgba(0, 240, 255, 0.14); box-shadow: 0 0 0 2.5rem rgba(0, 240, 255, 0.025), 0 0 0 5rem rgba(0, 240, 255, 0.018); pointer-events: none; }
.sim-command-header, .sim-tabs, .sim-screen { position: relative; z-index: 1; }.sim-command-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0.85rem 1.15rem; }.sim-eyebrow, .sim-system-health span, .network-uptime, .metric-label { color: #7dd3fc; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; }.sim-eyebrow, .sim-system-health strong, .hud-tag, .cerco-event { display: inline-flex; align-items: center; gap: 0.5rem; }.signal-dot, .secure-dot, .sim-system-health strong i, .cerco-event > span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--emerald-success); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); animation: systemPulse 2s infinite; }.sim-command-header p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.1rem; }.sim-system-health { text-align: right; display: grid; gap: 0.18rem; }.sim-system-health span { color: var(--text-dim); font-size: 0.62rem; }.sim-system-health strong { color: #a7f3d0; font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.04em; }
.sim-tabs { gap: 0.5rem; margin-bottom: 0.85rem; flex-wrap: nowrap; }.sim-tab { justify-content: center; flex: 1; gap: 0.55rem; background: rgba(2, 6, 15, 0.5); border-color: rgba(148, 163, 184, 0.14); padding: 0.8rem 1rem; border-radius: 9px; font-size: 0.86rem; }.sim-tab:hover { border-color: rgba(0, 240, 255, 0.55); color: #fff; transform: translateY(-1px); }.sim-tab.active { color: #051016; border-color: var(--cyan-accent); background: linear-gradient(135deg, #52e8f6, #65b7ff); box-shadow: 0 7px 24px rgba(0, 240, 255, 0.22); }
.sim-screen { min-height: 455px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 13px; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025), inset 0 0 50px rgba(0, 0, 0, 0.8); }.sim-screen::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.28; background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,0.035) 3px, rgba(255,255,255,0.035) 4px); mix-blend-mode: screen; }.screen-corners { position: absolute; inset: 0.7rem; z-index: 5; pointer-events: none; }.screen-corners i { position: absolute; width: 14px; height: 14px; border-color: rgba(125, 211, 252, 0.8); border-style: solid; }.screen-corners i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }.screen-corners i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }.screen-corners i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }.screen-corners i:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }.sim-view { min-height: 455px; }.sim-view.active { animation: simReveal 0.45s ease both; }@keyframes simReveal { from { opacity: 0; transform: scale(1.012); } to { opacity: 1; transform: scale(1); } }@keyframes systemPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.45); } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } }

/* CCTV camera feed */
.view-cctv { background: #071526; }.cctv-hud { min-height: 455px; padding: 1.25rem 1.4rem; }.hud-top, .hud-bottom, .cerco-heading, .cerco-footer { gap: 0.75rem; }.hud-tag { position: relative; z-index: 3; width: fit-content; padding: 0.32rem 0.58rem; border: 1px solid rgba(255,255,255,0.16); background: rgba(2, 6, 15, 0.56); color: #e0f2fe; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.035em; }.rec-dot { width: 0.5rem; height: 0.5rem; box-shadow: 0 0 9px rgba(251,75,91,.8); }.hud-time { position: relative; z-index: 3; color: #d8f9ff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.75rem; text-shadow: 0 0 12px rgba(0,240,255,.45); }
.cctv-scene { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #54c5de 0%, #9cd8d3 41%, #527d6f 42%, #1c3d36 100%); transition: background 0.8s ease; }.cctv-scene::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 55% 65%, transparent 0 20%, rgba(2, 12, 15, 0.36) 100%), linear-gradient(90deg, rgba(0, 9, 18, 0.17), transparent 30%, transparent 70%, rgba(0, 9, 18, 0.22)); }.scene-orb { position: absolute; top: 12%; right: 21%; width: 3.8rem; aspect-ratio: 1; border-radius: 50%; background: #fff4bd; box-shadow: 0 0 2.2rem rgba(255,245,188,.85); transition: all 0.8s ease; }.scene-cloud { position: absolute; height: 1.1rem; border-radius: 2rem; background: rgba(255,255,255,.55); filter: blur(1px); }.scene-cloud::before, .scene-cloud::after { content: ''; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }.scene-cloud::before { left: .6rem; width: 1.2rem; height: 1.2rem; }.scene-cloud::after { left: 1.35rem; width: 1.7rem; height: 1.7rem; }.cloud-one { top: 20%; left: 13%; width: 3.4rem; animation: driftCloud 16s linear infinite; }.cloud-two { top: 33%; right: 7%; width: 4rem; opacity: .7; animation: driftCloud 23s -7s linear infinite; }@keyframes driftCloud { from { transform: translateX(-35px); } to { transform: translateX(115px); } }.scene-hills { position: absolute; left: -5%; bottom: 32%; width: 112%; height: 23%; border-radius: 50% 50% 0 0; transform: skewY(-2deg); }.hill-back { background: #416d60; opacity: .85; bottom: 36%; }.hill-front { background: #224b40; }.scene-house { position: absolute; right: 19%; bottom: 27%; width: 21%; height: 21%; background: linear-gradient(90deg, #172c30, #315951); border-top: 9px solid #213a3d; box-shadow: 0 9px 16px rgba(0,0,0,.16); }.scene-house::before { content: ''; position: absolute; top: -40%; left: -8%; width: 116%; height: 45%; background: #1d3537; clip-path: polygon(50% 0,100% 100%,0 100%); }.scene-house span { position: absolute; top: 38%; width: 16%; aspect-ratio: 1; background: #ffe89a; box-shadow: 0 0 9px rgba(255,227,129,.4); }.scene-house span:nth-child(1){left:17%}.scene-house span:nth-child(2){left:43%}.scene-house span:nth-child(3){left:69%}
.scene-tree { position: absolute; bottom: 27%; width: 5rem; height: 12rem; background: #1b4a3c; clip-path: polygon(50% 0,78% 28%,65% 28%,92% 56%,68% 56%,100% 88%,0 88%,32% 56%,8% 56%,35% 28%,22% 28%); filter: drop-shadow(0 9px 4px rgba(0,0,0,.25)); }.tree-one { left: 8%; }.tree-two { right: 5%; bottom: 25%; transform: scale(.7); }.scene-fence { position: absolute; left: 0; right: 0; bottom: 26%; height: 16%; border-top: 3px solid rgba(202,233,231,.7); background: repeating-linear-gradient(90deg, transparent 0 4.6rem, rgba(202,233,231,.75) 4.6rem 4.85rem); }.scene-fence i { display: block; height: 100%; border-top: 1px solid rgba(202,233,231,.52); transform: translateY(33%); }.scene-fence i:nth-child(2){transform:translateY(66%)}.scene-fence i:nth-child(3){transform:translateY(99%)}.scene-fence i:nth-child(n+4){display:none}.scene-drive { position: absolute; left: 37%; bottom: 0; width: 28%; height: 32%; background: linear-gradient(90deg, #354947, #6b7870 53%, #334742); clip-path: polygon(36% 0,64% 0,100% 100%,0 100%); opacity:.82; }.scene-drive::after { content: ''; position:absolute; left:48%; height:100%; border-left:2px dashed rgba(226,247,237,.75); }.scene-person { position: absolute; left: 49%; bottom: 24%; z-index: 1; width: 1.55rem; height: 4.3rem; animation: subjectMove 4.2s ease-in-out infinite alternate; }.scene-person i { position: absolute; top: 0; left: .45rem; width: .8rem; height: .8rem; border-radius:50%; background:#101d21; }.scene-person b { position:absolute; top:.75rem; left:.1rem; width:1.45rem; height:2.45rem; background:#12262b; border-radius: .65rem .65rem .18rem .18rem; }.scene-person::before,.scene-person::after { content:''; position:absolute; bottom:0; width:.35rem; height:1.3rem; background:#0c1a1d; }.scene-person::before{left:.33rem; transform:rotate(5deg)}.scene-person::after{right:.33rem; transform:rotate(-5deg)}@keyframes subjectMove { from { transform: translateX(-22px); } to { transform: translateX(25px); } }.scene-scanline { position:absolute; left:0; width:100%; height:15%; background:linear-gradient(180deg, transparent, rgba(173,252,255,.14), transparent); animation: verticalScan 4s linear infinite; }.scene-scanline::after { content:''; position:absolute; bottom:30%; left:0; right:0; height:1px; background:rgba(153,247,255,.85); box-shadow:0 0 13px rgba(0,240,255,.8); }@keyframes verticalScan { from{ top:-17%; } to{ top:100%; } }
.cctv-lens-overlay { min-height: 220px; }.cctv-target-box { position: absolute; left: calc(50% - 2.2rem); bottom: 26%; width: 3.85rem; height: 7.4rem; border: 2px solid #63edf7; border-radius: 0; filter: drop-shadow(0 0 7px rgba(0,240,255,.65)); animation: targetDrift 4.2s ease-in-out infinite alternate; }.cctv-target-box::before,.cctv-target-box::after { content:''; position:absolute; }.cctv-target-box::before{top:-2px;left:-2px;width:.55rem;height:.55rem;background:#63edf7;box-shadow:calc(3.85rem - .55rem) 0 #63edf7, 0 calc(7.4rem - .55rem) #63edf7, calc(3.85rem - .55rem) calc(7.4rem - .55rem) #63edf7}.cctv-target-box::after{inset:.2rem;border:1px solid rgba(99,237,247,.3)}@keyframes targetDrift { from { transform: translateX(-22px); } to { transform: translateX(25px); } }.target-label,.target-data { position:absolute; left:-2px; white-space:nowrap; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-weight:800; letter-spacing:.04em; }.target-label { top:-1.65rem; color:#07131b; background:#6cf3fc; padding:.17rem .35rem; font-size:.58rem; }.target-data { bottom:-1.3rem; color:#adf9ff; font-size:.55rem; }.crosshair { position:absolute; left:50%; top:50%; width:3.5rem; height:3.5rem; border:1px solid rgba(222,255,255,.32); border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 0 1rem rgba(0,0,0,.035); }.crosshair::before,.crosshair::after { content:''; position:absolute; background:rgba(222,255,255,.35); }.crosshair::before{top:50%;left:-.7rem;right:-.7rem;height:1px}.crosshair::after{left:50%;top:-.7rem;bottom:-.7rem;width:1px}.cctv-telemetry { position:absolute; right:0; top:1.3rem; min-width:8.6rem; padding:.75rem .8rem; border-left:2px solid var(--cyan-accent); background:linear-gradient(90deg,rgba(2,10,18,.76),rgba(2,10,18,.24)); color:#dffcff; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }.cctv-telemetry span,.cctv-telemetry small { display:block; color:#90aebe; font-size:.57rem; letter-spacing:.08em; }.cctv-telemetry strong { display:block; color:#fff; font-size:.79rem; margin:.16rem 0; }.cctv-telemetry div{display:flex;gap:.18rem;margin-top:.52rem}.cctv-telemetry i{display:block;width:.7rem;height:.17rem;background:#48e5ef;animation:signalBars 1.2s ease-in-out infinite alternate}.cctv-telemetry i:nth-child(2){animation-delay:.2s}.cctv-telemetry i:nth-child(3){animation-delay:.4s}.cctv-telemetry i:nth-child(4){animation-delay:.6s}.cctv-telemetry i:nth-child(5){animation-delay:.8s}@keyframes signalBars {to{transform:scaleX(.35);opacity:.45}}
.cctv-controls { gap:.45rem; }.btn-hud { border-color:rgba(148,163,184,.3); border-radius:5px; padding:.48rem .72rem; background:rgba(2,8,16,.72); color:#dfeffc; font-size:.7rem; line-height:1.2; }.btn-hud:hover { transform:translateY(-1px); border-color:#88f6ff; color:#fff; }.btn-hud.active { color:#03151c; background:#76f1fa; border-color:#a4faff; box-shadow:0 0 17px rgba(0,240,255,.34); }.btn-track.is-tracking { color:#0c1722; background:#a7f3d0; border-color:#a7f3d0; }.hud-res { color:#c6d3db; font-size:.62rem; letter-spacing:.05em; }.view-cctv.night-mode .cctv-scene { background:linear-gradient(180deg,#061d32 0%,#0b3545 41%,#163d36 42%,#071b1a 100%); }.view-cctv.night-mode .cctv-scene::before { background:radial-gradient(ellipse at 55% 65%,transparent 0 20%,rgba(0,5,10,.6) 100%),linear-gradient(90deg,rgba(0,5,10,.24),transparent 30%,transparent 70%,rgba(0,5,10,.3)); }.view-cctv.night-mode .scene-orb { width:2.4rem; top:15%; right:23%; background:#d9f4e7; box-shadow:0 0 1.8rem rgba(136,255,204,.52); }.view-cctv.night-mode .scene-cloud { opacity:.13; }.view-cctv.night-mode .hill-back { background:#16483c; }.view-cctv.night-mode .hill-front { background:#0d3029; }.view-cctv.night-mode .scene-house { background:#0c2d2b; }.view-cctv.night-mode .scene-house span { background:#e5ffac; box-shadow:0 0 14px rgba(229,255,172,.85); }.view-cctv.night-mode .scene-tree { background:#083a30; }.view-cctv.night-mode .scene-person i,.view-cctv.night-mode .scene-person b,.view-cctv.night-mode .scene-person::before,.view-cctv.night-mode .scene-person::after { background:#020a08; }.view-cctv.is-tracking .cctv-target-box { animation-duration: .8s; box-shadow:0 0 22px rgba(16,185,129,.85); border-color:#86efac; }.view-cctv.is-tracking .target-label { background:#86efac; }

/* ===========================================================================
   ELECTRIC PERIMETER & SMART NETWORK
   ========================================================================== */
/* Electric perimeter */
.view-cerco { padding: 0; background: radial-gradient(circle at 50% 45%, rgba(37,99,235,.16), transparent 37%), linear-gradient(135deg,#061225,#090b16); }.cerco-hud { min-height:455px; padding:1.25rem 1.4rem; display:flex; flex-direction:column; justify-content:space-between; position:relative; z-index:2; }.cerco-heading { color:#8fa5b6; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.64rem; letter-spacing:.05em; }.cerco-heading strong { color:#d8f9ff; }.cerco-layout { display:grid; grid-template-columns:minmax(260px,.92fr) 1.45fr; align-items:center; gap:1.2rem; }.cerco-status-card { display:grid; grid-template-columns:1fr; gap:.7rem; }.cerco-metric { padding:1rem 1.1rem; border:1px solid rgba(148,163,184,.18); border-radius:9px; background:linear-gradient(135deg,rgba(8,22,43,.86),rgba(3,10,20,.68)); display:flex; flex-direction:column; gap:.12rem; position:relative; overflow:hidden; }.cerco-metric::after { content:''; position:absolute; right:-1.6rem; bottom:-1.6rem; width:5rem; height:5rem; border:1px solid rgba(0,240,255,.13); border-radius:50%; }.metric-label { color:#8ea8bd; font-size:.61rem; }.metric-val { font-size:1.6rem; line-height:1.2; }.metric-power .metric-val { color:#72eefa; text-shadow:0 0 16px rgba(0,240,255,.37); }.metric-sub { font-size:.69rem; position:relative; z-index:1; }.cerco-visualizer { height:185px; margin:0; padding:0; overflow:hidden; border:1px solid rgba(0,240,255,.18); border-radius:10px; background:linear-gradient(180deg,rgba(4,24,44,.8),rgba(3,8,20,.85)),repeating-linear-gradient(90deg,transparent 0 24px,rgba(54,124,158,.12) 24px 25px); }.cerco-visualizer::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 50%,rgba(0,240,255,.12),transparent 31%); }.fence-post { position:absolute; top:11%; bottom:0; width:5px; background:linear-gradient(90deg,#48667d,#b4d1d8,#365269); box-shadow:0 0 7px rgba(150,229,237,.37); }.post-one{left:9%}.post-two{left:35%}.post-three{left:64%}.post-four{left:90%}.fence-wire { position:absolute; left:0; right:0; width:auto; height:1px; background:linear-gradient(90deg,rgba(104,167,186,.35),#d3ffff 15%,rgba(104,167,186,.35) 40%,#d3ffff 72%,rgba(104,167,186,.35)); box-shadow:0 0 5px rgba(167,243,255,.38); }.wire-1{top:28%}.wire-2{top:43%}.wire-3{top:58%}.wire-4{top:73%}.energy-pulse { z-index:1; top:19%; bottom:17%; left:-24%; width:24%; height:auto; background:linear-gradient(90deg,transparent,rgba(154,253,255,.12) 22%,#6cf7ff 50%,rgba(154,253,255,.12) 78%,transparent); filter:blur(.4px); animation:pulseWire 2.2s infinite linear; }.power-core { position:absolute; z-index:2; top:50%; left:50%; width:5.2rem; height:5.2rem; transform:translate(-50%,-50%); border:1px solid #78f4ff; border-radius:50%; display:grid; place-content:center; text-align:center; background:radial-gradient(circle,rgba(0,240,255,.42),rgba(1,15,27,.82) 58%); box-shadow:0 0 0 .45rem rgba(0,240,255,.07),0 0 28px rgba(0,240,255,.38); color:#ecfeff; font-family:var(--font-heading); }.power-core span { font-size:1.15rem; font-weight:900; line-height:1; }.power-core small { color:#9aeff5; font-size:.55rem; letter-spacing:.08em; }@keyframes pulseWire { from{transform:translateX(0);opacity:0}20%,78%{opacity:1}to{transform:translateX(540%);opacity:0} }.cerco-footer { margin-top:.85rem; }.cerco-event { color:#b5f7db; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.68rem; }.cerco-event>span { width:.4rem; height:.4rem; }.btn-hud.btn-danger { background:linear-gradient(135deg,rgba(127,29,29,.82),rgba(69,10,10,.82)); border-color:rgba(248,113,113,.65); color:#fee2e2; }.btn-hud.btn-danger:hover { background:#dc2626; border-color:#fca5a5; box-shadow:0 0 20px rgba(239,68,68,.35); }.view-cerco.is-alert { animation:alertFlash .55s ease-in-out 4; }.view-cerco.is-alert .cerco-visualizer { border-color:#fb7185; box-shadow:inset 0 0 30px rgba(239,68,68,.26),0 0 25px rgba(239,68,68,.23); }.view-cerco.is-alert .energy-pulse { background:linear-gradient(90deg,transparent,#ff334d,transparent); animation-duration:.55s; }.view-cerco.is-alert .power-core { border-color:#ff7987; background:radial-gradient(circle,rgba(239,68,68,.68),rgba(55,4,11,.85) 58%); box-shadow:0 0 0 .45rem rgba(239,68,68,.09),0 0 34px rgba(239,68,68,.72); }.view-cerco.is-alert .cerco-event { color:#fecaca; }.view-cerco.is-alert .cerco-event>span { background:#fb4657; }@keyframes alertFlash{50%{filter:brightness(1.45) saturate(1.4)}}

/* Smart network topology */
.view-red { padding:0; background:radial-gradient(circle at 50% 42%,rgba(124,58,237,.2),transparent 33%),radial-gradient(circle at 17% 80%,rgba(0,240,255,.1),transparent 25%),#060a17; }.network-hud { min-height:455px; padding:1.25rem 1.4rem; display:flex; flex-direction:column; justify-content:space-between; position:relative; z-index:2; }.network-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }.network-heading p { font-size:.78rem; color:#a1b4c3; margin-top:.34rem; }.network-uptime { padding:.3rem .48rem; border:1px solid rgba(167,139,250,.35); border-radius:4px; color:#b9adff; font-size:.58rem; white-space:nowrap; }.network-uptime strong { color:#e2ddff; display:block; font-size:.86rem; margin-top:.12rem; }.net-grid { gap:.35rem; margin:1rem 0; }.net-node { min-width:0; max-width:185px; position:relative; padding:1rem .65rem .8rem; border-color:rgba(148,163,184,.2); border-radius:10px; background:linear-gradient(145deg,rgba(15,28,54,.82),rgba(4,10,24,.82)); overflow:hidden; }.net-node::before { content:''; position:absolute; top:0; left:20%; right:20%; height:2px; background:#58eef7; box-shadow:0 0 12px rgba(0,240,255,.7); }.net-node::after { content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 15%,rgba(0,240,255,.16),transparent 36%); pointer-events:none; }.firewall-node::before { background:#ae98ff; box-shadow:0 0 12px rgba(167,139,250,.7); }.mesh-node::before { background:#5eead4; box-shadow:0 0 12px rgba(94,234,212,.7); }.node-icon { position:relative; z-index:1; color:#69eff8; font-size:1.8rem; line-height:1; text-shadow:0 0 16px rgba(0,240,255,.65); }.firewall-node .node-icon{color:#c4b5fd}.mesh-node .node-icon{color:#5eead4}.net-node h4 { position:relative; z-index:1; font-size:.91rem; }.net-node p { position:relative; z-index:1; color:#9cbed0; font-size:.67rem; line-height:1.4; }.net-node small { position:relative; z-index:1; display:inline-block; margin-top:.45rem; color:#8ab2c6; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.54rem; letter-spacing:.08em; }.net-line { min-width:32px; margin:0; height:2px; background:linear-gradient(90deg,#5ee7f1,#7486ff); box-shadow:0 0 9px rgba(0,240,255,.35); overflow:visible; }.net-line.active::after { display:none; }.net-line i { position:absolute; top:50%; width:.42rem; height:.42rem; margin-top:-.21rem; background:#f3feff; border-radius:50%; box-shadow:0 0 11px #9cf9ff; animation:dataFlow 1.8s linear infinite; }.net-line i:nth-child(2){animation-delay:.9s}@keyframes dataFlow{from{left:-5%}to{left:103%}}.net-stats-bar { display:grid; grid-template-columns:repeat(3,1fr) auto; align-items:center; gap:.55rem; padding:.6rem; border-color:rgba(148,163,184,.17); border-radius:8px; background:rgba(2,7,18,.58); }.net-stats-bar span { padding:.1rem .45rem; border-right:1px solid rgba(148,163,184,.13); display:flex; flex-direction:column; }.net-stats-bar span small { color:#7891a5; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.55rem; letter-spacing:.08em; }.net-stats-bar span strong { color:#a7f3ff; font-family:var(--font-heading); font-size:.86rem; }.btn-network { color:#e9e3ff; border-color:rgba(167,139,250,.55); background:rgba(91,33,182,.24); white-space:nowrap; }.btn-network.is-testing { color:#141127; background:#c4b5fd; border-color:#ddd6fe; }.network-result { margin-top:.7rem; color:#94cfc7; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.64rem; text-align:center; letter-spacing:.025em; }.network-result::before { content:'✓'; display:inline-grid; place-items:center; width:.9rem; height:.9rem; margin-right:.35rem; border-radius:50%; background:rgba(16,185,129,.18); color:#6ee7b7; }.network-result.is-testing { color:#d9d1ff; }.network-result.is-testing::before { content:'↻'; background:rgba(167,139,250,.18); color:#c4b5fd; animation:spin .7s linear infinite; }@keyframes spin{to{transform:rotate(360deg)}}

@media (max-width: 760px) { .demo-section { padding: 4.5rem 0; }.simulator-wrapper { padding:.7rem; }.sim-command-header { padding:.55rem .35rem .85rem; }.sim-system-health { display:none; }.sim-tabs { gap:.35rem; }.sim-tab { padding:.65rem .3rem; font-size:.69rem; }.sim-tab svg { width:15px; height:15px; }.sim-screen,.sim-view,.cctv-hud,.cerco-hud,.network-hud { min-height:500px; }.cctv-hud,.cerco-hud,.network-hud { padding:1rem; }.hud-time { font-size:.62rem; }.hud-bottom { align-items:flex-start; }.hud-res { display:none; }.cctv-lens-overlay { min-height:270px; }.cctv-telemetry { top:0; right:-.1rem; transform:scale(.87); transform-origin:top right; }.scene-house { right:13%; width:31%; height:19%; }.scene-tree { transform:scale(.72); transform-origin:bottom; }.tree-two { transform:scale(.52); }.cerco-heading { align-items:flex-start; flex-direction:column; gap:.3rem; }.cerco-layout { grid-template-columns:1fr; gap:.7rem; }.cerco-status-card { grid-template-columns:1fr 1fr; gap:.5rem; }.cerco-metric { padding:.75rem; }.metric-val { font-size:1.15rem; }.metric-sub { font-size:.57rem; }.cerco-visualizer { height:153px; }.cerco-footer { align-items:flex-start; flex-direction:column; }.cerco-footer .btn-hud { width:100%; }.network-heading p { max-width:200px; }.network-uptime { display:none; }.net-grid { gap:.15rem; }.net-node { padding:.7rem .25rem; }.net-node h4 { font-size:.66rem; }.net-node p { font-size:.53rem; }.net-node small { font-size:.45rem; }.node-icon { font-size:1.25rem; }.net-line { min-width:12px; }.net-stats-bar { grid-template-columns:repeat(3,1fr); }.net-stats-bar span { padding:.1rem .15rem; }.net-stats-bar span strong { font-size:.68rem; }.btn-network { grid-column:1 / -1; width:100%; }}
@media (prefers-reduced-motion: reduce) { .simulator-wrapper *, .simulator-wrapper *::before, .simulator-wrapper *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }

/* ===========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container, .calc-body, .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(6, 9, 17, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
    transition: left 0.3s ease;
    backdrop-filter: blur(20px);
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-toggle {
    display: block;
  }

  .btn-whatsapp-nav span {
    display: none;
  }

  .btn-whatsapp-nav {
    padding: 0.55rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .calculator-card, .contact-wrapper {
    padding: 2rem 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Prevent testimonial cards from forcing a wider mobile layout. */
@media (max-width: 768px) {
  .testimonials-section {
    overflow: hidden;
    padding: 4.5rem 0;
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .test-card {
    min-width: 0;
    padding: 1.15rem;
    border-radius: 16px;
  }

  .test-header {
    align-items: flex-start;
  }

  .user-name-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .user-name-row h4,
  .test-loc,
  .test-comment {
    overflow-wrap: anywhere;
  }

  .badge-verified {
    font-size: 0.62rem;
    padding: 0.16rem 0.45rem;
  }

  .review-stars-row {
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .google-trust-bar {
    width: 100%;
    max-width: none;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
  }

  .trust-divider {
    display: none;
  }

  .trust-info-side {
    width: 100%;
    text-align: center;
    font-size: 0.76rem;
  }

  .test-filters {
    width: 100%;
    justify-content: stretch;
    gap: 0.25rem;
    border-radius: 14px;
  }

  .test-filter-btn {
    flex: 1 1 31%;
    min-width: 0;
    padding: 0.55rem 0.32rem;
    font-size: 0.67rem;
    line-height: 1.2;
  }
}
