/* ==========================================================================
   PORTFOLIO SYSTEM - DESIGN TOKENS & ARCHITECTURE
   Luis Armando Carranza Cortés | Founder & CEO NovaTec
   ========================================================================== */

:root {
  /* Color Palette (Dominant Light Tech with Electric Accents) */
  --bg-body: #ffffff;
  --bg-canvas: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-dark-section: #090d16;
  --bg-dark-card: rgba(17, 24, 39, 0.75);

  /* Tech Accents */
  --tech-blue: #0284c7;
  --tech-blue-glow: rgba(2, 132, 199, 0.15);
  --electric-cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --deep-navy: #0f172a;
  --accent-violet: #6366f1;
  --emerald-status: #10b981;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(2, 132, 199, 0.45);
  --border-glow: 0 0 0 1px rgba(56, 189, 248, 0.35);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 20px 40px -10px rgba(2, 132, 199, 0.25);

  /* Layout & Spacing */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s var(--ease-smooth);
}

/* Base Reset & Typography */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tech Blueprint Grid Background */
.bg-tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, #000 70%, transparent 100%);
}

/* Ambient Radial Mesh Lights */
.mesh-ambient-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.mesh-light-1 {
  top: 5%;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(255,255,255,0) 70%);
}

.mesh-light-2 {
  top: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(255,255,255,0) 70%);
}

/* Fast Preloader */
#lac-preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.65s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.4s ease;
}

.preloader-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--deep-navy), var(--tech-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.preloader-track {
  width: 180px;
  height: 3px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--tech-blue), var(--electric-cyan));
  border-radius: 99px;
  transition: width 0.45s ease;
}

.preloader-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Custom Subtle Cursor (Desktop) */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--tech-blue);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
  }

  .custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(2, 132, 199, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, border-color 0.25s ease, width 0.25s ease, height 0.25s ease;
  }

  .cursor-hover .custom-cursor-ring {
    width: 54px;
    height: 54px;
    border-color: var(--electric-cyan);
    background: rgba(6, 182, 212, 0.08);
  }

  .cursor-project .custom-cursor-ring {
    width: 80px;
    height: 80px;
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--electric-cyan);
  }

  .cursor-project .custom-cursor-dot {
    opacity: 0;
  }
}

/* Master Container */
.lac-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER GLOBAL
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  padding: 12px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 24px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.1);
}

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

.brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--deep-navy), var(--tech-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--deep-navy);
  letter-spacing: -0.02em;
}

.brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  background: rgba(2, 132, 199, 0.08);
  color: var(--tech-blue);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--tech-blue), var(--electric-cyan));
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.is-active {
  color: var(--deep-navy);
}

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

.header-cta {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--deep-navy);
}

/* ==========================================================================
   HERO SECTION - CINEMATOGRÁFICO & MULTICAPA
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-coordinates {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-coordinates::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--tech-blue);
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 24px;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-status);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-name {
  font-size: clamp(2.8rem, 6.2vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--deep-navy);
  margin-bottom: 16px;
}

.hero-tagline-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: var(--tech-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.hero-concept {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-concept span {
  background: linear-gradient(135deg, var(--tech-blue), var(--electric-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 38px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1e3a8a 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -5px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--deep-navy) !important;
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Floating Code / Mockup Stage (Hero Right) */
.hero-stage-wrapper {
  position: relative;
  perspective: 1200px;
}

.hero-main-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.terminal-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--deep-navy);
}

.code-keyword { color: #8b5cf6; font-weight: 600; }
.code-fn { color: #0284c7; font-weight: 600; }
.code-string { color: #059669; }
.code-comment { color: #94a3b8; font-style: italic; }

.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--deep-navy);
  z-index: 10;
  transition: transform 0.25s ease;
}

.floating-pill-1 {
  top: -15px;
  right: -20px;
}

.floating-pill-2 {
  bottom: -20px;
  left: -20px;
}

.pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tech-blue), var(--electric-cyan));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   METRICS & INTRO MANIFIESTO
   ========================================================================== */
.section-manifesto {
  padding: 100px 0;
  background: var(--bg-canvas);
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.manifesto-lead {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tech-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.manifesto-statement {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--deep-navy);
  margin-bottom: 36px;
  max-width: 1000px;
}

.manifesto-statement .text-gradient {
  background: linear-gradient(135deg, var(--tech-blue), var(--electric-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto-body {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 820px;
  margin-bottom: 50px;
}

/* Metrics Grid */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.metric-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.metric-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--deep-navy);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-num span {
  color: var(--tech-blue);
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SHOWCASE DE PROYECTOS (EDITORIAL LARGE BLOCKS)
   ========================================================================== */
.section-projects {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tech-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--deep-navy);
  margin-bottom: 60px;
}

.projects-stack-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.editorial-project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.editorial-project:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.editorial-project.is-reversed {
  grid-template-columns: 1fr 1.1fr;
}

.editorial-project.is-reversed .project-content-col {
  order: 2;
}

.project-number-watermark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.05);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.05em;
}

.project-category-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tech-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.project-heading {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--deep-navy);
  margin-bottom: 16px;
}

.project-synopsis {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.project-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 5px 12px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--deep-navy);
  font-weight: 600;
}

.project-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tech-blue);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.project-cta-link:hover {
  gap: 14px;
  color: var(--deep-navy);
}

/* 3D Mockup Visual Window */
.project-visual-stage {
  perspective: 1000px;
  position: relative;
}

.mockup-3d-card {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.editorial-project:hover .mockup-3d-card {
  transform: perspective(1000px) rotateY(-4deg) rotateX(4deg) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.mockup-body-preview {
  background: #0f172a;
  border-radius: var(--radius-sm);
  padding: 24px;
  color: #f8fafc;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35) inset;
}

/* ==========================================================================
   TECH ECOSYSTEM & ORBITA
   ========================================================================== */
.section-ecosystem {
  padding: 120px 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-light);
  position: relative;
}

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

.eco-category-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.eco-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.eco-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.eco-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tech-blue-glow);
  color: var(--tech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.eco-cat-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--deep-navy);
  letter-spacing: -0.01em;
}

.eco-tags-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eco-tech-item {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: default;
}

.eco-tech-item:hover {
  background: #ffffff;
  border-color: var(--tech-blue);
  color: var(--tech-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.tech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tech-blue);
}

/* ==========================================================================
   EXPERIENCIA & LIDERAZGO (NOVATEC)
   ========================================================================== */
.section-experience {
  padding: 120px 0;
  position: relative;
}

.timeline-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-svg-line {
  position: absolute;
  top: 0;
  left: 28px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--tech-blue) 0%, var(--electric-cyan) 50%, rgba(15, 23, 42, 0.1) 100%);
}

.timeline-node {
  position: relative;
  padding-left: 70px;
  margin-bottom: 50px;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 17px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--tech-blue);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.timeline-period {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tech-blue);
  margin-bottom: 6px;
  display: block;
}

.timeline-role {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.timeline-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--tech-blue);
  font-weight: bold;
}

/* ==========================================================================
   METODOLOGÍA DE DESARROLLO (01 DISCOVERY -> 08 EVOLUTION)
   ========================================================================== */
.section-methodology {
  padding: 120px 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--tech-blue);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tech-blue);
  margin-bottom: 12px;
  line-height: 1;
}

.step-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN NOVATEC - BRANDING TECNOLÓGICO
   ========================================================================== */
.section-novatec {
  padding: 120px 0;
  background: var(--bg-dark-section);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.novatec-ambient {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

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

.novatec-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--electric-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.novatec-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 24px;
}

.novatec-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 32px;
}

.novatec-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.novatec-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.novatec-pillar {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pillar-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   SERVICIOS INTERACTIVOS
   ========================================================================== */
.section-services {
  padding: 120px 0;
  background: var(--bg-body);
}

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

.interactive-service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.interactive-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--tech-blue-glow);
  color: var(--tech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-item-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 12px;
}

.service-item-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   CTA FINAL DE ALTO IMPACTO
   ========================================================================== */
.section-cta-final {
  padding: 140px 0;
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(6rem, 18vw, 22rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.05em;
}

.cta-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #bae6fd;
}

.cta-big-title {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.cta-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #e0f2fe;
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.btn-cta-white {
  background: #ffffff;
  color: var(--deep-navy) !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 18px 42px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

/* ==========================================================================
   CONTACTO & FLUENT FORMS
   ========================================================================== */
.section-contact {
  padding: 120px 0;
  background: var(--bg-canvas);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  text-decoration: none;
  color: var(--deep-navy);
  transition: all 0.25s ease;
}

.contact-channel-item:hover {
  transform: translateX(6px);
  border-color: var(--tech-blue);
  box-shadow: var(--shadow-sm);
}

.channel-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tech-blue-glow);
  color: var(--tech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.channel-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.channel-val {
  font-weight: 700;
  font-size: 1rem;
}

/* Fluent Form Custom Styling */
.fluentform-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.fluentform .ff-el-form-control {
  background: var(--bg-canvas) !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  font-size: 0.95rem !important;
  color: var(--deep-navy) !important;
  transition: all 0.25s ease !important;
}

.fluentform .ff-el-form-control:focus {
  background: #ffffff !important;
  border-color: var(--tech-blue) !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  outline: none !important;
}

.fluentform .ff-btn-submit {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--tech-blue) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 16px 36px !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3) !important;
  transition: all 0.25s ease !important;
}

.fluentform .ff-btn-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.45) !important;
}

/* ==========================================================================
   FOOTER EDITORIAL
   ========================================================================== */
.site-footer {
  padding: 80px 0 40px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--deep-navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.footer-brand-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--tech-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE & ACCESSIBILITY (PREFERS-REDUCED-MOTION)
   ========================================================================== */
@media (max-width: 1024px) {
  .editorial-project, .editorial-project.is-reversed {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px;
  }
  .editorial-project.is-reversed .project-content-col {
    order: 1;
  }
  .novatec-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-secondary {
    justify-content: center;
  }
  .editorial-project {
    padding: 24px;
  }
  .fluentform-wrapper {
    padding: 24px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
  .mockup-3d-card {
    transform: none !important;
  }
}
