/* ==========================================================================
   NUBEZUELA — DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Obsidian Dark Mode, Ethereal Mesh Aurora, Glassmorphism,
   High-Precision Micro-Interactions, Modern SaaS Product Studio.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --bg-base: #06080d;
  --bg-surface: #0c1017;
  --bg-surface-elevated: #121824;
  --bg-card: rgba(15, 22, 36, 0.65);
  --bg-card-hover: rgba(22, 33, 54, 0.85);
  --bg-glass: rgba(10, 15, 26, 0.72);
  
  /* Vibrant Tech Accents */
  --cyan: #00E5FF;
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --blue: #3B82F6;
  --blue-glow: rgba(59, 130, 246, 0.35);
  --violet: #8B5CF6;
  --violet-glow: rgba(139, 92, 246, 0.35);
  --emerald: #10B981;
  --amber: #F59E0B;
  
  /* Text System */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #06080D;
  
  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(0, 229, 255, 0.28);
  --border-focus: rgba(0, 229, 255, 0.75);
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
  --glow-cyan: 0 0 35px rgba(0, 229, 255, 0.25);
  --glow-violet: 0 0 45px rgba(139, 92, 246, 0.25);
  
  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00E5FF 0%, #3B82F6 50%, #8B5CF6 100%);
  --grad-brand-text: linear-gradient(135deg, #FFFFFF 20%, #A5F3FC 60%, #C4B5FD 100%);
  --grad-card-border: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(255, 255, 255, 0.03), rgba(139, 92, 246, 0.25));
  --grad-surface: linear-gradient(180deg, rgba(18, 26, 43, 0.6) 0%, rgba(10, 14, 23, 0.8) 100%);

  /* Spacing & Layout */
  --max-width: 1240px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.65;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

::selection {
  background: var(--cyan);
  color: var(--bg-base);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   BACKGROUND CANVAS & MESH
   ========================================================================== */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#cloud-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Spotlight cursor effect */
.cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.text-gradient {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan {
  color: var(--cyan);
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.section-tag .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseGlow 2s infinite;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn span {
  display: inline-block;
  vertical-align: middle;
}

.btn-icon-arrow {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-arrow {
  transform: translateX(4px);
}

/* Magnetic Button Wrapper */
.btn-magnetic {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.15s ease-out;
}

.btn-primary {
  background: var(--grad-brand);
  color: #06080D;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.55), 0 0 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Hide mobile-only navbar CTA on desktop */
.mobile-menu-cta {
  display: none;
}

/* Floating WhatsApp classic button (Right Side) */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  transition: transform var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 0 25px rgba(37, 211, 102, 0.4);
  color: #FFFFFF;
}

.floating-whatsapp:hover svg {
  transform: scale(1.08);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), backdrop-filter var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 102;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.3));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-brand);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  z-index: 102;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 110px;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(18, 26, 43, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.hero-badge .badge-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero-badge span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-headline {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
  max-width: 620px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-tag-item {
  font-size: 0.82rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual Composition */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  background: var(--bg-surface);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}

.hero-image-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Glass Cards */
.floating-hud {
  position: absolute;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 15, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 4;
  animation: floatAnim 6s ease-in-out infinite;
}

.hud-top-left {
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}

.hud-bottom-right {
  bottom: -20px;
  right: -20px;
  animation-delay: 3s;
}

.hud-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.hud-content {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hud-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
}

.hud-pill {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  font-weight: 600;
}

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

/* ==========================================================================
   SECCIÓN — QUÉ HACEMOS (BENTO GRID)
   ========================================================================== */
.services-section {
  padding: 100px 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.1);
}

.bento-card.col-7 {
  grid-column: span 7;
}

.bento-card.col-5 {
  grid-column: span 5;
}

.bento-card.col-6 {
  grid-column: span 6;
}

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 20px;
  display: inline-block;
  letter-spacing: 0.05em;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill-item {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.bento-card:hover .pill-item {
  border-color: rgba(0, 229, 255, 0.25);
  color: var(--text-primary);
  background: rgba(0, 229, 255, 0.06);
}

.service-accent-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
  transition: opacity var(--transition-normal);
}

.bento-card:hover .service-accent-glow {
  opacity: 0.9;
}

/* ==========================================================================
   SECCIÓN — PORTAFOLIO (PROYECTOS REALES)
   ========================================================================== */
.portfolio-section {
  padding: 100px 0;
  position: relative;
}

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

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 229, 255, 0.15);
}

.project-featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.project-secondary {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.project-half {
  grid-column: span 6;
}

.project-media-wrap {
  position: relative;
  overflow: hidden;
  background: #020408;
  display: flex;
  flex-direction: column;
}

/* Browser Chrome Simulation */
.browser-chrome {
  height: 36px;
  background: rgba(14, 20, 32, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
}

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

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.browser-address {
  flex: 1;
  max-width: 280px;
  height: 22px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.project-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image {
  transform: scale(1.03);
}

.project-content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.project-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.project-url-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.project-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.project-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cyan);
  transition: gap var(--transition-fast);
}

.project-link-btn:hover {
  gap: 12px;
  color: #FFFFFF;
}

/* ==========================================================================
   SECCIÓN — POR QUÉ NUBEZUELA (FILOSOFÍA)
   ========================================================================== */
.why-section {
  padding: 100px 0;
  position: relative;
}

.hud-panel-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hud-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.hud-title-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--cyan);
}

.hud-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--emerald);
  font-family: 'JetBrains Mono', monospace;
}

.hud-status-indicator .live-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

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

.philosophy-item {
  position: relative;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.philosophy-item:hover {
  background: rgba(0, 229, 255, 0.04);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
}

.philosophy-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 18px;
}

.philosophy-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.philosophy-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN — PROCESO (4 PASOS CON TIMELINE)
   ========================================================================== */
.process-section {
  padding: 100px 0;
  position: relative;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 50px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 50%, var(--violet) 100%);
  opacity: 0.3;
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.1);
}

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN — PLANES & SOLUCIONES
   ========================================================================== */
.plans-section {
  padding: 100px 0;
  position: relative;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
}

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

/* VIP Highlighted Plan (Sistema Personalizado) */
.plan-card.plan-featured {
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.85) 0%, rgba(10, 15, 26, 0.95) 100%);
  border: 2px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  transform: scale(1.03);
}

.plan-card.plan-featured:hover {
  transform: scale(1.03) translateY(-6px);
  border-color: var(--cyan);
}

.plan-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #06080D;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.plan-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  min-height: 42px;
}

.plan-pricing-cta {
  margin: 18px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.plan-quote-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  font-weight: 700;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-check-icon {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}

.plan-cta-btn {
  width: 100%;
}

/* ==========================================================================
   SECCIÓN — TECNOLOGÍA (ENGINEERING CAPABILITIES)
   ========================================================================== */
.tech-section {
  padding: 100px 0;
  position: relative;
}

.tech-banner-card {
  background: radial-gradient(circle at 50% 0%, rgba(30, 48, 80, 0.4) 0%, rgba(10, 15, 26, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  backdrop-filter: blur(20px);
  text-align: center;
}

.tech-quote {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.tech-chips-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.tech-chip:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--cyan);
  transform: translateY(-2px);
}

.tech-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.tech-stat-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  margin-bottom: 4px;
}

.tech-stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECCIÓN — GRAN CTA FINAL
   ========================================================================== */
.big-cta-section {
  padding: 100px 0;
  position: relative;
}

.big-cta-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--glow-cyan);
}

.big-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: brightness(0.85);
}

.big-cta-overlay {
  position: relative;
  z-index: 2;
  padding: 80px 48px;
  background: radial-gradient(circle at 50% 50%, rgba(6, 8, 13, 0.6) 0%, rgba(6, 8, 13, 0.95) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.big-cta-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 800px;
  line-height: 1.1;
}

.big-cta-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN — CONTACTO (FORMULARIO INTERACTIVO)
   ========================================================================== */
.contact-section {
  padding: 80px 0 120px;
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px;
  backdrop-filter: blur(20px);
}

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

.contact-direct-card {
  margin-top: 36px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.contact-direct-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.contact-channel-link:hover {
  color: var(--cyan);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.interactive-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-select-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-select-btn:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.chip-select-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: 700;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* ==========================================================================
   SECCIÓN — PREGUNTAS FRECUENTES (FAQ ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 229, 255, 0.3);
  background: var(--bg-card-hover);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-body {
  overflow: hidden;
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 8, 13, 0.9);
  padding: 80px 0 40px;
  position: relative;
  z-index: 3;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan);
}

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

/* ==========================================================================
   TOAST NOTIFICATION MODAL
   ========================================================================== */
.toast-modal {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(14, 22, 38, 0.95);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  backdrop-filter: blur(16px);
  z-index: 1000;
  transform: translateY(120px);
  opacity: 0;
  transition: all var(--transition-normal);
  pointer-events: none;
}

.toast-modal.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-description, .hero-tags, .hero-cta-group, .hero-metrics {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .bento-card.col-7, .bento-card.col-5, .bento-card.col-6 {
    grid-column: span 12;
  }

  .project-featured, .project-secondary {
    grid-template-columns: 1fr;
  }

  .project-half {
    grid-column: span 12;
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-base);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 101;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding: 40px 0 80px;
  }

  .philosophy-grid, .process-timeline, .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.plan-featured {
    transform: none;
  }

  .tech-stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-layout {
    padding: 32px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Accessibility */
@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;
  }
}
