/**
 * CSTY 2.0 - Corporate Custom Stylesheet
 * Enterprise Executive Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --csty-zinc-950: #09090b;
  --csty-zinc-900: #18181b;
  --csty-zinc-800: #27272a;
  --csty-zinc-700: #3f3f46;
  --csty-zinc-200: #e4e4e7;
  --csty-zinc-100: #f4f4f5;
  --csty-zinc-50:  #fafafa;
  --csty-amber-500: #f59e0b;
  --csty-amber-600: #d97706;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--csty-zinc-50);
  color: var(--csty-zinc-900);
}

/* Neural Canvas Position */
#neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Full Bleed Enterprise Blurred Header Backgrounds with Subtle Animation */
@keyframes heroZoomPan {
  0% {
    background-position: 50% 50%;
    transform: scale(1);
  }
  50% {
    background-position: 52% 48%;
    transform: scale(1.03);
  }
  100% {
    background-position: 50% 50%;
    transform: scale(1);
  }
}

.hero-enterprise-bg {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.78) 0%, rgba(9, 9, 11, 0.92) 100%), 
              url('../images/hero-enterprise.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoomPan 25s infinite alternate ease-in-out;
  overflow: hidden;
}

.section-cyber-bg {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.95) 100%), 
              url('../images/cybersecurity-hero.jpg');
  background-size: cover;
  background-position: center;
}

.section-ti-bg {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.95) 100%), 
              url('../images/ti-datacenter.jpg');
  background-size: cover;
  background-position: center;
}

.section-vulnerability-bg {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.95) 100%), 
              url('../images/pentesting-workstation.jpg');
  background-size: cover;
  background-position: center;
}

.section-identity-bg {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.95) 100%), 
              url('../images/identity-security.jpg');
  background-size: cover;
  background-position: center;
}

.section-consultoria-bg {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.95) 100%), 
              url('../images/consulting-boardroom.jpg');
  background-size: cover;
  background-position: center;
}

.section-soluciones-bg {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.95) 100%), 
              url('../images/strategic-solutions.jpg');
  background-size: cover;
  background-position: center;
}

.section-nosotros-bg {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.95) 100%), 
              url('../images/nosotros-team.jpg');
  background-size: cover;
  background-position: center;
}

/* Business Line Card with Image Background & Top-to-Bottom Gradient Overlay */
.card-business-line {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-business-line:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-business-line-overlay {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.1) 0%, rgba(9, 9, 11, 0.75) 45%, rgba(9, 9, 11, 0.98) 100%);
  padding: 2rem 1.75rem 1.75rem 1.75rem;
  color: #ffffff;
  width: 100%;
}

/* Accessibility Focus Ring */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--csty-amber-500);
  outline-offset: 2px;
}

/* Smooth Transitions */
.transition-csty {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
