/* ==========================================
   NAVCAD CORPORATE WEBSITE STYLING (PREMIUM - BRAND PALETTE)
   ========================================== */

:root {
  --web-primary: #3B82F6;       /* Azul Marino (Marca Oficial) */
  --web-accent: #00bfff;        /* Azul Celeste/Cian (Acento Oficial) */
  --web-accent-hover: #009acd;  /* Cian Oscuro para hovers */
  --web-bg-light: #ffffff;      /* Fondo principal blanco */
  --web-bg-neutral: #f8fafc;   /* Fondo secundario gris claro */
  --web-text-dark: #0f172a;     /* Texto principal oscuro (Slate 900) */
  --web-text-muted: #475569;    /* Texto secundario (Slate 600) */
  --web-text-light: #ffffff;    /* Texto claro en fondos oscuros */
  --web-card-bg: #ffffff;       /* Fondo de tarjetas */
  --web-border: rgba(59, 130, 246, 0.08); /* Borde azul marino translúcido */
  --web-glass-bg: rgba(255, 255, 255, 0.9); /* Cristal de navegación */
}

/* Base Styles & Smooth Scroll */
html {
  scroll-behavior: smooth;
}

section[id], div[id] {
  scroll-margin-top: 80px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--web-bg-light);
  color: var(--web-text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--web-primary);
  margin-top: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

/* General Layout Elements */
.section-padding {
  padding: 100px 24px;
}

.container-web {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  color: var(--web-primary);
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--web-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--web-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn-web {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-web-primary {
  background-color: var(--web-primary);
  color: var(--web-text-light);
}

.btn-web-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.btn-web-accent {
  background-color: var(--web-primary);
  color: #ffffff;
  font-weight: 700;
}

.btn-web-accent:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-web-secondary {
  background-color: transparent;
  color: var(--web-text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-web-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--web-accent);
  color: var(--web-accent);
  transform: translateY(-2px);
}

/* Header & Navbar */
.web-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--web-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.05);
  transition: all 0.3s ease;
}

.web-header-scrolled {
  padding: 5px 0;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.06);
}

.navbar-web {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--web-primary);
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  color: var(--web-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--web-text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--web-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--web-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--web-primary);
  cursor: pointer;
  padding: 4px;
}

/* Hero Section (Fondo Oscuro Impactante con colores de marca) */
.hero-web {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #0b0f19;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 191, 255, 0.15) 0%, transparent 50%);
  padding-top: 80px; /* Header space */
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 50px;
  color: var(--web-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--web-text-light);
}

.hero-content h1 span {
  display: block;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--web-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #94a3b8; /* Text muted in dark bg */
  margin-bottom: 36px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shape-bg {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(0, 191, 255, 0.2) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  position: absolute;
  filter: blur(25px);
  animation: morph 12s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 50% 50% 30% 70% / 50% 60% 30% 60%; }
  100% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: rotate(1.5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: floatVisual 6s ease-in-out infinite;
}

.hero-image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
  animation-play-state: paused;
  box-shadow: 0 40px 80px rgba(59, 130, 246, 0.15);
}

@keyframes floatVisual {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-12px); }
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 310px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Stats Ribbon */
.stats-ribbon {
  background-color: var(--web-primary);
  padding: 40px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* About Section */
.about-web {
  background-color: var(--web-bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-description h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--web-primary);
}

.about-description p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--web-text-muted);
  margin-bottom: 16px;
}

/* Testimonial Quote Box (Web-Exclusive) */
.testimonial-quote-box {
  background-color: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.05);
  border-left: 4px solid var(--web-primary);
  padding: 20px 20px 18px 36px;
  border-radius: 8px;
  margin-top: 30px;
  position: relative;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.02);
}

.testimonial-quote-box::before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 2.6rem;
  font-family: Georgia, serif;
  color: rgba(59, 130, 246, 0.12);
  line-height: 1;
  font-weight: 700;
}

.testimonial-quote-box p {
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--web-primary);
  margin: 0 0 10px 0 !important;
  font-weight: 500;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--web-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mission-vision-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mv-card {
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.05);
  border-left: 4px solid var(--web-primary);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.01);
}

.mv-card:hover {
  transform: translateX(6px);
  border-color: rgba(59, 130, 246, 0.15);
  border-left-color: var(--web-accent);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.04);
}

.mv-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--web-primary);
  transition: color 0.3s ease;
}

.mv-card:hover h4 {
  color: var(--web-accent);
}

.mv-card h4 svg, .mv-card h4 i {
  color: var(--web-primary);
  transition: color 0.3s ease;
  width: 18px !important;
  height: 18px !important;
}

.mv-card:hover h4 svg, .mv-card:hover h4 i {
  color: var(--web-accent);
}

.mv-card p {
  color: var(--web-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Process Section (Web-Exclusive Process Timeline) */
.process-web {
  background-color: var(--web-bg-neutral);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Timeline dashed connector (desktop only) */
@media (min-width: 1025px) {
  .process-steps-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right, rgba(59, 130, 246, 0.15) 0px, rgba(59, 130, 246, 0.15) 8px, transparent 8px, transparent 16px);
    z-index: 1;
    transform: translateY(-50%);
  }
}

.process-step-card {
  background-color: var(--web-card-bg);
  border: 1px solid rgba(59, 130, 246, 0.05);
  border-top: 4px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.01);
  z-index: 2;
}

.process-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.15);
  border-top-color: var(--web-primary);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.06);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--web-primary), var(--web-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.06;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
  transition: opacity 0.3s, transform 0.3s;
  transform: rotate(-3deg);
}

.process-step-card:hover .step-number {
  opacity: 0.15;
  transform: rotate(0deg) scale(1.05);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid rgba(59, 130, 246, 0.1);
  color: var(--web-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.03);
}

.process-step-card:hover .step-icon {
  background-color: var(--web-primary);
  border-color: var(--web-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.process-step-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--web-primary);
}

.process-step-card p {
  color: var(--web-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Services Section */
.services-web {
  background-color: var(--web-bg-light);
}

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

.service-card {
  background-color: var(--web-bg-light);
  border: 1px solid rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(25, 25, 112, 0.01);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--web-primary), var(--web-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.05);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.07);
  color: var(--web-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--web-primary);
  color: #ffffff;
}

.service-icon svg {
  color: inherit;
  width: 20px;
  height: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--web-primary);
  line-height: 1.3;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--web-bg-neutral);
  border: 1px solid rgba(59, 130, 246, 0.03);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--web-text-muted);
  font-size: 0.8rem;
  transition: all 0.25s ease;
  line-height: 1.35;
}

.service-card:hover .service-list li {
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.02);
}

.service-list li svg {
  color: var(--web-primary);
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
  height: 14px;
}

/* Projects Section (With filters) */
.projects-web {
  background-color: var(--web-bg-light);
}

.projects-filters-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--web-bg-neutral);
  border: 1.5px solid rgba(59, 130, 246, 0.06);
  color: var(--web-text-muted);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--web-primary);
  color: var(--web-primary);
}

.filter-btn-active {
  background: var(--web-primary);
  color: white;
  border-color: var(--web-primary);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.15);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background-color: var(--web-card-bg);
  border: 1px solid rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  min-height: 220px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.project-image-box {
  position: relative;
  width: 190px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #f1f5f9;
}

.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image-box img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(59, 130, 246, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.project-body {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-body h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--web-primary);
}

.project-location {
  font-size: 0.85rem;
  color: var(--web-text-muted);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.project-body p {
  color: var(--web-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.project-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--web-primary);
  transition: gap 0.3s ease;
  align-self: flex-start;
}

.project-card:hover .project-more {
  gap: 12px;
  color: var(--web-accent);
}

/* Project Detail Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.1);
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(59, 130, 246, 0.2);
  position: relative;
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(59, 130, 246, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--web-accent);
  color: var(--web-primary);
}

.modal-image-box {
  width: 100%;
  height: 220px;
  position: relative;
  background-color: #f1f5f9;
}

.modal-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 24px;
}

.modal-body h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--web-primary);
}

.modal-meta-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.05);
}

.meta-item {
  font-size: 0.85rem;
  color: var(--web-text-muted);
}

.meta-item strong {
  color: var(--web-primary);
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.modal-body p {
  color: var(--web-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--web-bg-neutral);
  border: 1px solid rgba(59, 130, 246, 0.05);
  padding: 16px;
  border-radius: 8px;
}

.m-stat-box h4 {
  font-size: 1.1rem;
  color: var(--web-primary);
  margin-bottom: 4px;
  font-weight: 700;
}

.m-stat-box p {
  font-size: 0.70rem;
  color: var(--web-text-muted);
  margin: 0;
  text-transform: uppercase;
}

/* Partners Slider */
.partners-ribbon {
  background-color: var(--web-bg-neutral);
  border-top: 1px solid rgba(59, 130, 246, 0.03);
  padding: 60px 24px;
}

.partners-title {
  text-align: center;
  color: var(--web-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.partner-logo {
  height: 52px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  object-fit: contain;
}

.partner-logo:hover {
  opacity: 0.95;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* FAQ Accordion Section (Web-Exclusive Accordion) */
.faq-web {
  background-color: var(--web-bg-neutral);
}

.faq-accordion-wrapper {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  background-color: #ffffff;
  border: 1.5px solid rgba(59, 130, 246, 0.04);
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  border-color: rgba(0, 191, 255, 0.25);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.03);
}

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

.faq-question-row h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--web-primary);
  line-height: 1.4;
  padding-right: 20px;
}

.faq-icon-box {
  color: var(--web-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon-box svg {
  width: 16px;
  height: 16px;
}

.faq-answer-row {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.3s ease;
  margin-top: 0;
}

.faq-answer-row p {
  color: var(--web-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Active states for accordion */
.faq-item-active {
  border-color: rgba(59, 130, 246, 0.12);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.04);
}

.faq-item-active .faq-icon-box {
  transform: rotate(180deg);
  color: var(--web-accent);
}

.faq-item-active .faq-answer-row {
  max-height: 200px;
  margin-top: 10px;
}

/* Contact Section */
.contact-web {
  background-color: var(--web-bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.contact-info-panel {
  background: var(--web-bg-neutral);
  border: 1px solid rgba(59, 130, 246, 0.04);
  border-radius: 12px;
  padding: 24px;
}

.contact-info-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--web-primary);
}

.contact-info-panel p {
  color: var(--web-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  font-size: 0.85rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(0, 191, 255, 0.08);
  color: var(--web-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  color: var(--web-primary);
  width: 16px;
  height: 16px;
}

.contact-item-details h4 {
  font-size: 0.75rem;
  color: var(--web-primary);
  text-transform: uppercase;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

.contact-item-details p, .contact-item-details a {
  color: var(--web-text-dark);
  font-size: 0.85rem;
  text-decoration: none;
  margin: 0;
  line-height: 1.4;
  transition: color 0.2s;
}

.contact-item-details a:hover {
  color: var(--web-accent);
}

/* Contact Form */
.contact-form-panel {
  background: #ffffff;
  border: 1.5px solid rgba(59, 130, 246, 0.06);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.03);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--web-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-control-web {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--web-text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control-web:focus {
  outline: none;
  border-color: var(--web-primary);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.15);
}

textarea.form-control-web {
  resize: vertical;
  min-height: 90px;
}

.form-status {
  padding: 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  text-align: center;
  animation: fadeIn 0.3s;
}

.form-status-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.form-status-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Footer (Fondo Oscuro Premium) */
.web-footer {
  background-color: #0b0f19;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 40px 24px 20px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 36px;
  margin-bottom: 24px;
}

.footer-info img {
  height: 36px;
  margin-bottom: 14px;
}

.footer-info p {
  color: #64748b;
  line-height: 1.5;
  font-size: 0.8rem;
}

.footer-links h4, .footer-newsletter h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--web-text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--web-accent);
}

.footer-newsletter p {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.footer-btn-email {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.8rem;
}

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

.footer-bottom p {
  color: #475569;
  font-size: 0.75rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-bottom-links a:hover {
  color: var(--web-accent);
}

.internal-access-link {
  opacity: 0.35;
  transition: opacity 0.3s;
}

.internal-access-link:hover {
  opacity: 1;
}

.mobile-nav-panel {
  display: none;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 16px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .navbar-web {
    padding: 12px 16px;
  }
  
  .nav-links, .nav-cta {
    display: none; /* Hide on mobile */
  }
  
  .nav-logo-text span {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content h1 {
    font-size: 2.6rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper img {
    max-width: 320px;
  }
  
  .services-grid, .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .project-card {
    flex-direction: column;
    min-height: auto;
  }
  
  .project-image-box {
    width: 100%;
    height: 160px;
  }
  
  .project-tag {
    top: 12px;
    right: 12px;
    left: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    text-align: center;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Mobile Navigation Panel */
  .mobile-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0b0f19;
    z-index: 1100;
    padding: 80px 24px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .mobile-nav-panel-active {
    transform: translateX(0);
  }
  
  .mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  
  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
  }
  
  .mobile-nav-links a:hover {
    color: var(--web-accent);
  }
  
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

/* Active Nav Links for Scroll-Spy */
.nav-links a.active {
  color: var(--web-primary) !important;
}

.nav-links a.active::after {
  width: 100% !important;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   FLOATING BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--web-primary);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.back-to-top.show-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3);
}

/* ==========================================
   SHIMMER / METALLIC SHINE EFFECT
   ========================================== */
.service-card, .project-card, .process-step-card, .mv-card {
  position: relative;
  overflow: hidden;
}

.service-card::after, .project-card::after, .process-step-card::after, .mv-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s ease;
  z-index: 5;
  pointer-events: none;
}

.service-card:hover::after, .project-card:hover::after, .process-step-card:hover::after, .mv-card:hover::after {
  left: 150%;
  transition: 0.75s ease;
}

/* ==========================================
   WELCOME PRELOADER
   ========================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0b0f19;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo {
  height: 80px;
  width: auto;
  animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(59, 130, 246, 0.1);
  border-top-color: var(--web-accent);
  border-radius: 50%;
  animation: spinLoader 0.8s infinite linear;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.preloader-fade-out {
  opacity: 0;
  visibility: hidden;
}

/* ==========================================
   IMAGE LIGHTBOX VISOR
   ========================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-close-btn:hover {
  background: white;
  color: var(--web-primary);
  transform: scale(1.05);
}

.modal-image-box {
  cursor: zoom-in;
}

/* Google Maps Address Link styling */
.contact-map-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(59, 130, 246, 0.4);
  transition: all 0.2s ease;
}

.contact-map-link:hover {
  color: var(--web-primary) !important;
  border-bottom-color: var(--web-primary) !important;
}

/* ==========================================
   HERO PORTRAIT SLIDESHOW
   ========================================== */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  padding: 0;
  width: 320px;
  height: 220px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: rotate(1.5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: floatVisual 6s ease-in-out infinite;
  overflow: hidden; /* Keep slides clipped! */
}

.hero-slide {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  border-radius: 8px;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0) 100%);
  color: #ffffff;
  padding: 20px 16px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 18px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero-carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-carousel-dots .dot.active {
  background-color: var(--web-accent);
  transform: scale(1.3);
}



