﻿/* ==========================================================================
   Global Systech PerÃº - Modern Professional Styles
   Theme: High Tech / Cyber / Professional / Glassmorphism
   ========================================================================== */

:root {
  /* --- Design Tokens --- */

  /* Colors - Deep Space Theme */
  --bg-body: #0a0e17;
  /* Very dark blue/black */
  --bg-surface: #111827;
  /* Slightly lighter for cards */
  --bg-surface-2: #1f2937;
  /* Secondary surface */

  /* Branding - Neon Accents */
  --primary: #00f2ff;
  /* Cyan Neon */
  --primary-dim: rgba(0, 242, 255, 0.1);
  --primary-glow: rgba(0, 242, 255, 0.5);

  --secondary: #7000ff;
  /* Deep Violet */
  --secondary-dim: rgba(112, 0, 255, 0.1);

  --accent: #22c55e;
  /* Success/Online Green */

  /* Text */
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  /* Typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --navbar-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Effects */
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  --glow-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Fix for fixed navbar hiding content when navigating to anchors */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(
    var(--navbar-height) + 1rem
  ); /* 80px navbar + 16px extra space */
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
}

/* Bootstrap Overrides for Dark Theme */
.text-muted {
  color: var(--text-muted) !important;
}

/* Override Bootstrap's text-white-50 with a more visible color */
.text-white-50 {
  color: #e2e8f0 !important; /* Much lighter gray - very visible */
}

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

/* Base Responsive Typography */
/* Base Responsive Typography */
@media (max-width: 768px) {
  h1.display-3 {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }

  h2.display-5 {
    font-size: 1.75rem !important;
  }

  .hero-section {
    padding-top: calc(
      var(--navbar-height) + 1rem
    ); /* Reduce top padding on mobile */
    min-height: auto; /* Allow content to dictate height on mobile */
    padding-bottom: 3rem;
  }

  .hero-visual-wrapper {
    margin-top: 2rem;
    max-width: 100% !important;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

  .section-padding {
    padding: 4rem 0; /* Less padding on mobile */
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Utility Classes (High Impact)
   ========================================================================== */

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Neon Badge Highlight */
.highlight-pill {
  background: rgba(0, 242, 255, 0.15);
  border: 1px solid rgba(0, 242, 255, 0.4);
  color: #fff;
  padding: 0px 10px;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2); /* Soft ambient glow, not text shadow */
  white-space: nowrap;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Buttons */
.btn-primary-glow {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.btn-primary-glow:hover {
  background-color: var(--primary);
  color: #000;
  box-shadow: 0 0 25px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-secondary-glow {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary-glow:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-main);
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */

/* Navbar */
.navbar-custom {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

/* Logo Styles */
.footer__logo-img {
  height: 50px;
  width: auto;
  /* Optional: Add slight brightness boost if logo is too dark */
  filter: brightness(1.1);
}

/* High Contrast Brand Card (White Wrapper) */
.brand-card {
  background: white;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.brand-card img {
  filter: none !important; /* Ensure pure colors */
}

/* Map Card Configuration - Neon Glass Style */
.map-card-container {
  position: relative;
}

.map-card {
  background: rgba(10, 14, 23, 0.6); /* Darker glass base */
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.15); /* Outer Glow */
  border: 1px solid rgba(0, 242, 255, 0.3); /* Neon Border */
  text-align: center;
  backdrop-filter: blur(10px);
}

.map-card img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(
    0 0 15px rgba(0, 242, 255, 0.3)
  ); /* Glow the map itself */
}

.navbar-brand-wrapper {
  /* Inherit/Alias brand-card style eventually, but keeping for safety */
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.navbar-brand-wrapper:hover {
  transform: translateY(-1px);
  background: #ffffff; /* Pure white on hover */
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s;
}

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

/* Mobile Navbar Styles */
@media (max-width: 768px) {
  .map-card {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .map-card img {
    max-width: 80%; /* Don't be too huge on mobile */
  }

  .brand-card {
    padding: 8px 12px;
  }

  .brand-card img {
    height: 35px; /* Smaller logo on mobile footer */
  }

  .navbar-brand-wrapper {
    padding: 6px 12px;
  }

  .navbar-brand-wrapper img {
    height: 40px; /* Adjust navbar logo size for mobile */
  }
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link {
    padding: 0.5rem 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 0; /* Disable underline on mobile, use color instead */
  }

  .navbar-nav .btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: calc(var(--navbar-height) + 2rem);
  padding-bottom: 4rem;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  /* Strict container for orbs */
  align-items: center;
  background: transparent; /* Changed to transparent to let video show */
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Background layer */
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Dark overlay BEHIND text but ABOVE video */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 23, 0.7),
    rgba(10, 14, 23, 0.5),
    var(--bg-body)
  );
  z-index: 1; /* Middle layer */
  pointer-events: none; /* Let clicks pass through */
}

/* Ensure content is strictly above overlay */
.hero-section .container {
  position: relative;
  z-index: 10 !important; /* Top layer */
}

/* Background Orbs Animation */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
  animation: floatOrb 10s infinite alternate
    cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.orb-1 {
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.orb-2 {
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 50px) scale(1.1);
  }
}

/* Page Header (Inner Pages) */
.page-header {
  margin-top: var(--navbar-height);
  padding: 8rem 0 6rem;
  background: linear-gradient(to bottom, rgba(10, 14, 23, 0.9), var(--bg-body)),
    radial-gradient(circle at top, #1a2040 0%, transparent 60%);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Timeline / Process Styles (for Servicios/Nosotros) */
.timeline-step {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--primary-dim);
  margin-bottom: 2rem;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-body);
  border: 2px solid var(--primary);
}

.hero-visual-wrapper {
  position: relative;
  z-index: 1;
}

/* Card Hover Effects */
.feature-card {
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: all 0.4s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(31, 41, 55, 0.6);
  border-color: var(--primary-dim);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 242, 255, 0.1);
}

.feature-card.service-highlight {
  background: rgba(17, 24, 39, 0.8); /* Darker, stronger background */
  border: 1px solid var(--primary); /* Neon border */
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.15); /* Constant glow */
  transform: scale(1.02); /* Slightly larger */
  position: relative;
  z-index: 2;
}

.feature-card.service-highlight:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 0 50px rgba(0, 242, 255, 0.3);
  background: rgba(17, 24, 39, 0.95);
}

.feature-card.service-highlight h3 {
  font-size: 1.75rem; /* Larger title */
  color: #fff;
}

.feature-card.service-highlight .feature-icon {
  font-size: 2.5rem;
  background: rgba(0, 242, 255, 0.2);
  color: #fff;
  text-shadow: 0 0 10px var(--primary);
}

/* Updated Section Common */
.section-padding {
  padding: 4rem 0;
}

/* FAQ Section Styles (Adapted for Glass Theme) */
.faq-section {
  position: relative;
  z-index: 10;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 14, 23, 0.6); /* Glass base */
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 242, 255, 0.3); /* Neon hover */
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: "\F63B"; /* Bootstrap Icons chevron-down */
  font-family: "bootstrap-icons";
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-question.active {
  background: rgba(0, 242, 255, 0.05);
  color: var(--primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
  padding: 1.5rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer {
  background: #05080f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-link {
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.8rem;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__img {
  transform: scale(1.1);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 23, 0.95),
    rgba(10, 14, 23, 0.2)
  );
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__category {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.project-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.project-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Testimonial Card - Soft Neon */
.testimonial-card-neon {
  background: rgba(10, 14, 23, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.testimonial-card-neon:hover {
  background: rgba(10, 14, 23, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card-neon::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  font-family: serif;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
}

/* Stats Bar - Vibrant Style */
.stats-card-neon {
  background: linear-gradient(
    145deg,
    rgba(17, 24, 39, 0.8),
    rgba(10, 14, 23, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Top border gradient accent */
.stats-card-neon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.stats-card-neon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15); /* Neon glow on hover */
  border-color: rgba(0, 242, 255, 0.3);
}

.stats-card-neon:hover::before {
  opacity: 1; /* Glow bar lights up */
}

/* Stats Text Typography */
.stats-card-neon h2 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

/* Specific colors for numbers - solid colors for visibility */
.stats-card-neon h2.text-primary {
  color: var(--primary) !important;
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.stats-card-neon h2.text-secondary {
  color: var(--secondary) !important;
  text-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
}

.stats-card-neon h2.text-success {
  color: #10b981 !important;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.stats-card-neon h2.text-info {
  color: #3b82f6 !important;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.projects__stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Clients Section (Swiper)
   ========================================================================== */
.clients {
  padding: 4rem 0;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-swiper {
  width: 100%;
  padding: 2rem 0;
}

.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.clients__logo:hover {
  color: var(--text-main);
  opacity: 1;
  transform: scale(1.05);
}

.clients__logo-icon {
  font-size: 1.5rem;
  color: var(--primary); /* Changed to primary for better visibility */
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
  }
}

.contact__form-container {
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__form-title {
  margin-bottom: 2rem;
  font-size: 1.75rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  transition: all 0.3s ease;
}

select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-neon--solid {
  background: var(--primary);
  color: #0a0e17;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.btn-neon--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.contact__info-card:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact__info-icon {
  color: var(--primary);
  padding: 0.5rem;
  background: rgba(0, 242, 255, 0.1);
  border-radius: 8px;
}

.contact__info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.contact__info p {
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact__info-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.contact__whatsapp,
.contact__calendly {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact__whatsapp {
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.1) 0%,
    transparent 100%
  );
  border-color: rgba(37, 211, 102, 0.3);
}

.contact__whatsapp:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.2) 0%,
    transparent 100%
  );
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.2);
}

.contact__whatsapp h4,
.contact__whatsapp p {
  color: #fff;
}
.contact__whatsapp-icon {
  color: #25d366;
}

.contact__calendly {
  background: linear-gradient(
    135deg,
    rgba(0, 107, 255, 0.1) 0%,
    transparent 100%
  );
  border-color: rgba(0, 107, 255, 0.3);
}

.contact__calendly:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(0, 107, 255, 0.2) 0%,
    transparent 100%
  );
  box-shadow: 0 10px 20px -5px rgba(0, 107, 255, 0.2);
}

/* ==========================================================================
   Footer Enhanced
   ========================================================================== */
.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 991px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer__logo-img {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer__company-info {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer__title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer__link:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer__address p {
  display: flex;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.whatsapp-float {
  position: relative;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
  color: white;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  background: white;
  color: #0a0e17;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Floating Robot Assistant
   ========================================================================== */
.floating-assistant {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.robot-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.robot-gif {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(0, 242, 255, 0.1);
  border: 2px solid rgba(0, 242, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: robotBounce 2s ease-in-out infinite;
}

.robot-gif:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(0, 242, 255, 0.5);
}

@keyframes robotBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.robot-speech-bubble {
  position: absolute;
  bottom: 110%;
  right: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 242, 255, 0.3);
  animation: bubblePulse 3s ease-in-out infinite;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: all 0.3s ease;
}

.robot-container:hover .robot-speech-bubble,
.floating-assistant:hover .robot-speech-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Show bubble initially for a few seconds */
.robot-speech-bubble.show-initial {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes bubblePulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(0, 242, 255, 0.5);
  }
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .floating-assistant {
    bottom: 1rem;
    right: 1rem;
  }

  .robot-gif {
    width: 70px;
    height: 70px;
  }

  .robot-speech-bubble {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   Robot Contact Menu
   ========================================================================== */
.robot-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

.robot-menu {
  position: absolute;
  bottom: 120px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.robot-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.robot-menu__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  transform: translateX(20px);
  opacity: 0;
}

.robot-menu.active .robot-menu__item {
  transform: translateX(0);
  opacity: 1;
}

/* Stagger animation delays */
.robot-menu.active .robot-menu__item:nth-child(1) {
  transition-delay: 0.05s;
}
.robot-menu.active .robot-menu__item:nth-child(2) {
  transition-delay: 0.1s;
}
.robot-menu.active .robot-menu__item:nth-child(3) {
  transition-delay: 0.15s;
}
.robot-menu.active .robot-menu__item:nth-child(4) {
  transition-delay: 0.2s;
}

.robot-menu__item i {
  font-size: 1.25rem;
}

.robot-menu__item:hover {
  transform: translateX(-5px) scale(1.02);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Menu item colors */
.robot-menu__whatsapp i {
  color: #25d366;
}
.robot-menu__whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}
.robot-menu__whatsapp:hover i {
  color: white;
}

.robot-menu__email i {
  color: var(--primary);
}
.robot-menu__email:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.robot-menu__email:hover i {
  color: white;
}

.robot-menu__phone i {
  color: var(--secondary);
}
.robot-menu__phone:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}
.robot-menu__phone:hover i {
  color: white;
}

.robot-menu__form i {
  color: #10b981;
}
.robot-menu__form:hover {
  background: #10b981;
  border-color: #10b981;
}
.robot-menu__form:hover i {
  color: white;
}

/* Robot button pulse when menu is open */
.floating-assistant.menu-open .robot-gif {
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.6);
  animation: none;
}

/* Mobile menu adjustments */
@media (max-width: 576px) {
  .robot-menu {
    bottom: 90px;
  }

  .robot-menu__item {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .robot-menu__item i {
    font-size: 1rem;
  }
}

/* Section Header Shared */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

/* Glass Card Helper */
.glass-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
} /* Senior UI/UX - Advanced Glassmorphism */
.glass-pro {
  background: rgba(15, 23, 42, 0.65); /* Deep Blue/Gray Tint */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Neon Gradient Border Effect */
.glass-pro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary) 50%,
    transparent 100%
  );
  opacity: 0.5;
}

/* Projects Stats - Specific styling to fix missing layout */
.projects__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 2rem;
  margin-top: 3rem;
  margin-bottom: 5rem; /* Added spacing */
  text-align: center;
  align-items: center;
}

.projects__stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.7), 0 0 20px rgba(0, 242, 255, 0.5),
    0 0 40px rgba(0, 242, 255, 0.3);
  margin-bottom: 0.5rem;
}

.projects__stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Footer Fix */
.footer__copyright {
  margin-bottom: 0 !important;
}

/* Sticky Sidebar Navigation */
.sticky-sidebar {
  position: sticky;
  top: 120px; /* Navbar height + offset */
  z-index: 10;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-nav .nav-link {
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.legal-nav .nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.legal-nav .nav-link.active {
  color: var(--primary);
  background: rgba(0, 242, 255, 0.05);
  border-left-color: var(--primary);
  font-weight: 600;
}

.legal-nav .nav-link i {
  margin-right: 12px;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
  box-shadow: 0 0 10px var(--primary);
}

/* ==========================================================================
   Responsive Fixes for Stats Section
   ========================================================================== */
@media (max-width: 576px) {
  /* Stats cards - prevent text clipping */
  .stats-card-neon {
    padding: 1rem 0.5rem;
  }

  .stats-card-neon h2 {
    font-size: 2rem !important;
    white-space: nowrap;
  }

  .stats-card-neon h2.display-4 {
    font-size: 1.8rem !important;
  }

  .stats-card-neon p {
    font-size: 0.75rem;
  }

  /* Projects stats section */
  .projects__stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .projects__stat-number {
    font-size: 1.5rem;
  }

  .projects__stat-label {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Responsive Fixes for Contact Section
   ========================================================================== */
@media (max-width: 768px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__form-container {
    padding: 1.5rem;
  }

  .contact__form-title {
    font-size: 1.4rem;
    text-align: center;
  }

  .contact__info {
    order: -1; /* Put contact info above form on mobile */
  }

  .contact__info-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .contact__info-card > div {
    width: 100%;
  }

  .contact__info h4 {
    font-size: 0.9rem;
  }

  .contact__info p {
    font-size: 0.85rem;
    word-break: break-word;
  }

  .contact__whatsapp,
  .contact__calendly {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact__whatsapp h4,
  .contact__calendly h4 {
    font-size: 1rem;
  }

  .contact__whatsapp-arrow,
  .contact__calendly-arrow {
    display: none;
  }

  .contact__map {
    padding: 0.5rem;
  }

  .contact__map iframe {
    height: 180px;
  }
}

/* ==========================================================================
   Counter Animation for Stats
   ========================================================================== */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-counter {
  display: inline-block;
  -webkit-text-fill-color: inherit !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

/* Ensure all spans in stats cards are visible */
.stats-card-neon h2 span {
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
}

.stat-counter.animated {
  animation: countUp 0.6s ease-out forwards;
}

/* Ensure counter numbers are visible in stats cards */
.stats-card-neon h2 .stat-counter,
.stats-card-neon h2 span {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Projects stat numbers visibility */
.projects__stat-number .stat-counter {
  color: inherit;
  -webkit-text-fill-color: inherit;
}

/* Pulsing glow effect for stats numbers */
@keyframes pulseGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px currentColor);
  }
  50% {
    filter: drop-shadow(0 0 15px currentColor);
  }
}

.stats-card-neon h2,
.projects__stat-number {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* ==========================================================================
   Price Highlight Animation
   ========================================================================== */
@keyframes pulse-price {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.3);
    filter: brightness(1.4);
  }
}

.price-highlight {
  display: inline-block;
  animation: pulse-price 1.5s ease-in-out infinite;
}

.price-tag {
  display: inline-block;
  animation: pulse-price 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.price-tag:hover {
  transform: scale(1.2);
  filter: brightness(1.5);
}

/* Conector Neon */
.neon-connector {
  width: 4px;
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(139, 92, 246, 0) 0%,
    rgba(139, 92, 246, 1) 50%,
    rgba(139, 92, 246, 0) 100%
  );
  border-radius: 4px;
  position: relative;
  z-index: 5;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.8), 0 0 30px rgba(139, 92, 246, 0.4);
  animation: neon-pulse 2s infinite;
}

@keyframes neon-pulse {
  0% {
    opacity: 0.5;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(139, 92, 246, 1), 0 0 40px rgba(139, 92, 246, 0.6);
  }
  100% {
    opacity: 0.5;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
}

/* ==========================================================================
   Refactored Styles (Moved from Inline HTML)
   ========================================================================== */

/* Promoción Fibra Card */
.card-promo-fiber {
  background: linear-gradient(
    135deg,
    rgba(0, 242, 255, 0.1) 0%,
    rgba(138, 43, 226, 0.1) 100%
  );
  border: 2px solid rgba(0, 242, 255, 0.3);
}

.alert-promo {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
}

.card-price-promo {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 242, 255, 0.2);
}

.pulse-price-animation {
  animation: pulse-price 1.5s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(0, 242, 255, 0.7), 0 0 80px rgba(0, 242, 255, 0.4);
}

@keyframes pulse-price {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.btn-whatsapp-success {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-whatsapp-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  color: white;
}

/* Software Banner */
.card-software-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-software {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.6);
  backdrop-filter: blur(4px);
}

.btn-software-submit {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-software-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
  color: white;
}

/* Planes Cards */
.card-plan-basic {
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.8) 0%,
    rgba(31, 41, 55, 0.8) 100%
  );
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.card-header-basic {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.8) 0%,
    rgba(26, 54, 93, 0.8) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-plan-pro {
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.8) 0%,
    rgba(31, 41, 55, 0.8) 100%
  );
  border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.15);
  backdrop-filter: blur(10px);
  transform: scale(1.05); /* Make it pop */
  z-index: 5;
  position: relative;
}

.card-header-pro {
  background: linear-gradient(
    135deg,
    rgba(30, 77, 122, 0.8) 0%,
    rgba(26, 73, 113, 0.8) 100%
  );
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
}

.card-plan-enterprise {
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.8) 0%,
    rgba(31, 41, 55, 0.8) 100%
  );
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.card-header-enterprise {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.8) 0%,
    rgba(26, 54, 93, 0.8) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fix for broken buttons in planes */
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
  border-color: var(--primary);
}

/* Mobile Adjustments for Pro Card */
@media (max-width: 991px) {
  .card-plan-pro {
    transform: scale(1);
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

/* Neon Button Styles */
.btn-neon {
  color: var(--primary);
  border: 1px solid var(--primary);
  background: transparent;
  width: 100%;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-neon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 242, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-neon:hover {
  color: #000;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

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

.btn-neon--solid {
  background: var(--primary);
  color: #000;
  border: none;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.btn-neon--solid:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Neon Borders for Redesigned Cards */
.border-neon-primary {
  border: 1px solid rgba(0, 242, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.1); /* Subtle default glow */
  transition: all 0.3s ease;
}

.border-neon-primary:hover {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.25);
  transform: translateY(-2px);
}

.border-neon-secondary {
  border: 1px solid rgba(112, 0, 255, 0.3);
  box-shadow: 0 0 20px rgba(112, 0, 255, 0.1);
  transition: all 0.3s ease;
}

/* Unified Section Wrapper (Software + Planes) */
.unified-section-wrapper {
  background: rgba(10, 14, 23, 0.4); /* Subtle base background */
  border: 2px solid rgba(139, 92, 246, 0.5); /* Primary Neon Border (Violet/Purple to match software theme) */
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15); /* Soft outer glow */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 24px; /* Ensure rounded corners */
}

.unified-section-wrapper:hover {
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.25);
}

/* Ensure the top software section background is maintained but constrained */
.software-banner-content {
  position: relative;
  /* background is handled by inner elements */
}

/* REMOTE SUPPORT WIZARD MODAL */

/* Glassmorphism for Modal Content */
.glass-pro {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* Close Button White Override */
.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Step Indicators (Dots) */
.step-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.step-dot.active {
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  transform: scale(1.2);
}

/* Animations */
@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.pulse-ring {
  animation: pulse-ring 2s infinite;
}

/* Download Button Pulse */
.pulse-animation {
  animation: pulse-price 2s infinite;
}

/* Modal Title Icon */
.modal-title i {
  text-shadow: 0 0 10px rgba(13, 202, 240, 0.5);
}

/* RNP SEAL IMAGE EFFECT */
.rnp-stamp-effect {
  max-width: 180px;
  /* Removed rotation as per user request */
  opacity: 0.8;
  /* Turn dark image to white "ink" for high contrast on dark bg */
  filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  transition: all 0.3s ease;
}

.rnp-stamp-effect:hover {
  transform: rotate(0deg) scale(1.05);
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

/* ==========================================================================
   BEM UTILITY CLASSES - Migrated from Inline Styles
   Methodology: Block__Element--Modifier
   ========================================================================== */

/* Hero Section - Enhanced Lead Text */
.hero__lead--enhanced {
  font-size: 1.25rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Hero Section - Glassmorphic Video Container */
.hero__video-container--glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.2);
  padding: 0.5rem;
}

/* Decorative Glow Elements */
.glow-element {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.glow-element--primary {
  background: var(--primary);
  filter: blur(40px);
  opacity: 0.6;
}

.glow-element--info {
  background: #0dcaf0;
  filter: blur(50px);
  opacity: 0.5;
}

/* About Section Map Badge */
.about__badge--location {
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

/* Map Image Floating Effect */
.about__map-img {
  max-height: 450px;
  filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.25));
  transform: scale(1.02);
}

/* Floating Card - Talent */
.about__talent-card {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(5px);
  min-width: 200px;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Section Typography */
.section__subtitle--muted {
  font-size: 1rem;
}

/* Card Price Glow */
.card__price--glow {
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.card__price--glow-strong {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Badge Variations */
.badge--software {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.6);
  backdrop-filter: blur(4px);
}

/* Decorative Circle */
.decor-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.decor-circle--blur-lg {
  filter: blur(120px);
  opacity: 0.1;
}

/* Flex Gap Utilities */
.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}

/* Z-Index Layers */
.z-0 {
  z-index: 0;
}
.z-1 {
  z-index: 1;
}
.z-2 {
  z-index: 2;
}
.z-3 {
  z-index: 3;
}
.z-10 {
  z-index: 10;
}

/* Support Wizard Specific */
.wizard__step-icon {
  font-size: 4rem;
}

/* Alert Promo Styling */
.alert--promo {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
}

/* ==========================================================================
   COMPLETE INLINE STYLE MIGRATION - BEM Classes
   ========================================================================== */

/* --- ORBS & DECORATIVE ELEMENTS --- */
.orb--low-opacity {
  opacity: 0.2;
}

.orb--services-1 {
  top: 10%;
  left: -10%;
  opacity: 0.15;
  width: 600px;
  height: 600px;
}

.orb--services-2 {
  bottom: 10%;
  right: -5%;
  opacity: 0.1;
  width: 500px;
  height: 500px;
}

/* --- TYPOGRAPHY UTILITIES --- */
.text--sm {
  font-size: 1rem;
}

.text--xs {
  font-size: 0.75rem;
}

.text--section-title {
  font-size: 1.1rem;
}

.text--line-height-relaxed {
  line-height: 1.6;
}

.text--muted-sm {
  font-size: 0.7rem;
}

/* --- HERO SECTION --- */
.hero__visual-wrapper--constrained {
  max-width: 500px;
  width: 100%;
}

.hero__video-inner {
  border-radius: 16px;
}

.hero__video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero__decor-orb--top-right {
  top: -10px;
  right: -20px;
  width: 60px;
  height: 60px;
  filter: blur(40px);
  opacity: 0.6;
  z-index: -1;
}

.hero__decor-orb--bottom-left {
  bottom: -10px;
  left: -20px;
  width: 80px;
  height: 80px;
  filter: blur(50px);
  opacity: 0.5;
  z-index: -1;
}

/* --- ABOUT SECTION --- */
.about__vision-card {
  background: linear-gradient(
    145deg,
    rgba(13, 202, 240, 0.05),
    rgba(0, 0, 0, 0.2)
  );
  border: 1px solid rgba(13, 202, 240, 0.2);
}

.about__mission-card {
  background: linear-gradient(
    145deg,
    rgba(34, 197, 94, 0.05),
    rgba(0, 0, 0, 0.2)
  );
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.about__icon-wrapper--info {
  width: 60px;
  height: 60px;
  background: rgba(13, 202, 240, 0.1);
  border: 1px solid rgba(13, 202, 240, 0.3);
}

.about__icon-wrapper--success {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.about__map-glow {
  width: 500px;
  height: 500px;
  filter: blur(120px);
  opacity: 0.1;
  z-index: 0;
}

.about__talent-card-style {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(5px);
  min-width: 200px;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.about__talent-avatar {
  width: 45px;
  height: 45px;
  object-fit: cover;
}

/* --- STATS SECTION --- */
.section--bg-surface {
  background: var(--bg-surface);
}

/* --- SERVICES SECTION --- */
.services__software-banner {
  border: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.services__software-bg {
  opacity: 0.5;
}

.services__software-bg-img {
  object-fit: cover;
  object-position: center;
}

.services__software-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.5) 0%,
    rgba(15, 52, 96, 0.3) 100%
  );
}

/* --- ICON COLOR UTILITIES --- */
.icon--violet {
  color: #8b5cf6;
}

.icon--success {
  color: #22c55e;
}

.icon--info {
  color: #0dcaf0;
}

.icon--pink {
  color: #ec4899;
}

.icon--teal {
  color: #14b8a6;
}

/* --- PRICING CARDS --- */
.price--glow-soft {
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.price--glow-strong {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* --- ALERT & BADGE UTILITIES --- */
.alert--warning-soft {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.2);
}

.badge--info-border {
  border-color: #0dcaf0;
  color: #0dcaf0;
}

/* --- SUPPORT SECTION --- */
.support__icon--info {
  color: #0dcaf0;
}

.support__button--highlight {
  background: #0dcaf0;
  color: #000;
  box-shadow: 0 0 20px rgba(13, 202, 240, 0.6);
  border: 2px solid #fff;
}

/* --- RNP SECTION --- */
.rnp__cta-button {
  border-color: #14b8a6;
  color: #14b8a6;
}

/* --- LINK COLOR UTILITIES --- */
.link--warning {
  color: #f59e0b;
}

.link--pink {
  color: #ec4899;
}

.link--teal {
  color: #14b8a6;
}

/* --- TESTIMONIAL IMAGES --- */
.testimonial__avatar {
  object-fit: cover;
  border: 2px solid rgba(0, 242, 255, 0.2);
}

/* --- WIZARD MODAL --- */
.wizard__progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.wizard__icon--large {
  font-size: 4rem;
  color: var(--primary);
}

.wizard__icon--xl {
  font-size: 2.5rem;
}

.wizard__step--scaled {
  transform: scale(1.1);
}

.wizard__img--constrained {
  max-height: 200px;
}

.wizard__img--constrained-lg {
  max-height: 250px;
}

.wizard__code-container {
  max-width: 400px;
}

/* --- SCROLL UTILITIES --- */
.scroll-offset {
  scroll-margin-top: 120px;
}

/* --- IFRAME UTILITIES --- */
.iframe--rounded {
  border: 0;
  border-radius: 12px;
}

/* --- FAQ SECTION --- */
.faq__container {
  max-width: 600px;
  margin: 0 auto;
}

/* --- ICON COLOR: GREEN --- */
.icon--green {
  color: #33ff00;
}

/* --- DISABLED LINK --- */
.link--disabled {
  pointer-events: none;
  opacity: 0.6;
}

/* --- BORDER NEON VARIATIONS --- */
.border--info-important {
  border-color: #0dcaf0 !important;
  color: #0dcaf0;
}

/* --- PRICE TAG ANIMATIONS --- */
.price-tag--animated {
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
  animation: pulse-price 0.8s ease-in-out infinite;
}

/* --- ALERT WARNING SOFT --- */
.alert--warning-soft {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.2);
}

/* --- TIENDAS ONLINE PRICING --- */
.pricing__promo-glow {
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
  animation: pulse-price 0.8s ease-in-out infinite;
}

/* --- SUPPORT BUTTON HIGHLIGHT --- */
.btn--support-highlight {
  background: #0dcaf0;
  color: #000;
  box-shadow: 0 0 20px rgba(13, 202, 240, 0.6);
  border: 2px solid #fff;
}

/* --- RNP STAMP SIZE --- */
.rnp__stamp-img {
  max-height: 80px;
}

/* --- TESTIMONIAL SECTION --- */
.testimonials__gradient-bg {
  background: linear-gradient(
    135deg,
    rgba(0, 242, 255, 0.02),
    rgba(112, 0, 255, 0.02)
  );
}

/* --- FAQ SECTION BG --- */
.faq__section-bg {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 242, 255, 0.02) 50%,
    transparent 100%
  );
}

/* --- WIZARD STEP IMAGES --- */
.wizard__step-img {
  max-height: 200px;
}

.wizard__step-img--lg {
  max-height: 250px;
}

/* --- WIZARD CODE BOX --- */
.wizard__code-box {
  max-width: 400px;
}

/* --- RNP STAMP LARGE --- */
.rnp__stamp-lg {
  max-height: 160px;
}

/* --- TESTIMONIALS ORB --- */
.orb--testimonials {
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  opacity: 0.2;
}

/* --- FAQ ORB --- */
.orb--faq {
  left: -150px;
  top: 50%;
  width: 500px;
  height: 500px;
  opacity: 0.15;
}

/* --- PROMO CIRCLE --- */
.promo__circle-lg {
  width: 140px;
  height: 140px;
  background: rgba(0, 242, 255, 0.1);
  border: 2px solid rgba(0, 242, 255, 0.3);
  aspect-ratio: 1 / 1;
}

/* --- FAQ BACKGROUND GLOW --- */
.faq__bg-glow {
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(0, 242, 255, 0.05) 0%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: -1;
}

/* ==========================================================================
   CONTACT MAP - Responsive Container (BEM)
   ========================================================================== */
.contact__map-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.contact__map {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 12px;
  display: block;
}

@media (min-width: 768px) {
  .contact__map {
    height: 300px;
  }
}

@media (min-width: 992px) {
  .contact__map {
    height: 350px;
  }
}

/* ==========================================================================
   SOCIAL MEDIA SECTION (BEM)
   ========================================================================== */
.social__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
}

.social__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 28px;
  transition: transform 0.3s ease;
}

.social__card:hover .social__icon-wrapper {
  transform: scale(1.1);
}

/* Icon Brand Colors (BEM Modifiers) */
.social__icon--facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

.social__icon--instagram {
  background: linear-gradient(
    135deg,
    rgba(253, 29, 29, 0.15) 0%,
    rgba(131, 58, 180, 0.15) 50%,
    rgba(252, 176, 69, 0.15) 100%
  );
  color: #e1306c;
}

.social__icon--whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.social__name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* Responsive: Centering 3 cards */
@media (max-width: 767.98px) {
  .social .row {
    justify-content: center;
  }

  .social__card {
    padding: 1.25rem;
  }

  .social__icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* ==========================================================================
   ABOUT CARDS (Mission & Vision)
   ========================================================================== */

.about__vision-card,
.about__mission-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.about__vision-card:hover,
.about__mission-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about__icon-wrapper--info,
.about__icon-wrapper--success {
  width: 70px;
  height: 70px;
  min-width: 70px; /* Fix flex shrinking */
  background: rgba(13, 202, 240, 0.15);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__icon-wrapper--success {
  background: rgba(25, 135, 84, 0.15);
}

.text--section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.text--line-height-relaxed {
  line-height: 1.6;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   GERENTE SHOWCASE - Quiénes Somos Section
   Centered layout with concentric neon ring
   ========================================================================== */

/* Section container - centers the gerente block */
.gerente-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
}

/* Showcase container - holds ring and image concentrically */
/* Unified pulse animation - both elements move together */
.gerente-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 420px;
  height: 420px;
  animation: showcasePulse 3.5s ease-in-out infinite;
}

/* Unified pulse - entire container scales together */
@keyframes showcasePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Neon Ring - Concentric, behind image */
.gerente-neon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: transparent;
  border: 5px solid rgba(0, 242, 255, 0.6);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.5), 0 0 60px rgba(0, 242, 255, 0.35),
    0 0 90px rgba(138, 43, 226, 0.25), inset 0 0 40px rgba(0, 242, 255, 0.08);
  animation: neonGlow 3.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Neon glow animation - only intensity changes, no scale */
@keyframes neonGlow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.5),
      0 0 60px rgba(0, 242, 255, 0.35), 0 0 90px rgba(138, 43, 226, 0.25),
      inset 0 0 40px rgba(0, 242, 255, 0.08);
    border-color: rgba(0, 242, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 45px rgba(0, 242, 255, 0.7), 0 0 90px rgba(0, 242, 255, 0.5),
      0 0 140px rgba(138, 43, 226, 0.4), inset 0 0 60px rgba(0, 242, 255, 0.15);
    border-color: rgba(0, 242, 255, 0.85);
  }
}

/* Image wrapper - Circular, fills almost to the ring edge */
.gerente-img-wrapper {
  position: relative;
  z-index: 2;
  width: 405px;
  height: 405px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Manager image - 100% fill, no gaps */
.gerente-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Manager info - Centered text below image */
.gerente-info {
  text-align: center;
  margin-top: 1.5rem;
}

.gerente-info h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.gerente-info p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet */
@media (max-width: 991.98px) {
  .gerente-showcase {
    width: 360px;
    height: 360px;
  }

  .gerente-neon-ring {
    width: 360px;
    height: 360px;
  }

  .gerente-img-wrapper {
    width: 345px;
    height: 345px;
  }

  .gerente-info h4 {
    font-size: 1.4rem;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .gerente-showcase {
    width: 300px;
    height: 300px;
  }

  .gerente-neon-ring {
    width: 300px;
    height: 300px;
  }

  .gerente-img-wrapper {
    width: 285px;
    height: 285px;
  }

  .gerente-info h4 {
    font-size: 1.2rem;
  }

  .gerente-info p {
    font-size: 1rem;
  }
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary) !important;
    opacity: 1 !important;
}

/* ====================
   Cyber-Showcase Grid 
   ==================== */
.projects-header {
  text-align: center;
  margin-bottom: 4rem;
}
.projects-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.cyber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.cyber-card {
  position: relative;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(0, 242, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cyber-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.15);
}
.cyber-visual {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1623 0%, #1a202e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.cyber-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}
.cyber-card:hover .cyber-visual img {
  transform: scale(1.08);
}
/* Specific fit for the photo project */
.cyber-visual.full-photo img {
  object-fit: cover;
  padding: 0;
}
.cyber-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0.4), rgba(10, 14, 23, 0.8));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.cyber-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.cyber-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.cyber-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.cyber-btn {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 242, 255, 0.05);
  border: 1px solid rgba(0, 242, 255, 0.2);
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cyber-card:hover .cyber-btn {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 15px var(--primary-glow);
}
.cyber-btn i {
  transition: transform 0.3s ease;
}
.cyber-card:hover .cyber-btn i {
  transform: translateX(3px);
}

/* Scroll Offset Fix for Projects Section */
#proyectos {
    scroll-margin-top: 120px; /* Ensure 'Portafolio' text is visible below fixed navbar */
}
