@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Unified B2B Premium Design System (Corporate V1 + Tendencias V2) --- */
:root {
  --bg-primary: #F8FAFC; /* Gris acero gélido para todo el cuerpo */
  --bg-secondary: rgba(235, 241, 246, 0.45); /* Gris azulado de contraste para secciones alternas */
  --bg-pure: #FFFFFF;
  --bg-tarjeta: rgba(255, 255, 255, 0.65); /* Cristal esmerilado translúcido */
  --border-color: rgba(148, 163, 184, 0.12); /* Micro-borde sutil */
  --border-color-glow: rgba(37, 99, 235, 0.25);
  --border-glass: rgba(148, 163, 184, 0.18);
  --borde-sutil: rgba(148, 163, 184, 0.12);
  
  /* Brand Colors (Vibrant High-Tech Light Palette) */
  --accent-blue: #2563EB; /* Azul tecnológico vibrante (#2563eb) */
  --accent-cyan: #06B6D4; /* Cian complementario (#06b6d4) */
  --accent-cyan-glow: #22D3EE;
  --accent-purple: #8B5CF6; /* Violeta complementario para mesh blobs */
  
  --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  --accent-gradient-hover: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  --accent-gradient-glow: linear-gradient(135deg, var(--accent-cyan-glow) 0%, var(--accent-blue) 100%);
  
  /* Text System (Azul pizarra oscuro para máxima legibilidad) */
  --text-primary: #0F172A; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 / Gris medio descripciones */
  --text-muted: #64748B; /* Slate 500 */
  --text-cyan: #0891B2; /* Cyan 600 */
  
  /* Layout & Animations */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-headings: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows (Estilo Apple / Stripe - Suaves y difuminadas) */
  --cyan-glow-shadow: 0 8px 24px rgba(6, 182, 212, 0.15);
  --blue-glow-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 15px -3px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 10px 10px -5px rgba(15, 23, 42, 0.02);
}

/* --- Base Resets & Defaults --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
}

body {
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  background: transparent; /* Permite ver el fondo gradiente y rejilla */
}

::selection {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-blue);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding: 9rem 0;
}

.bg-secondary-section {
  background-color: var(--bg-secondary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.glassmorphism-v2 {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    0 10px 40px rgba(9, 30, 66, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(37, 99, 235, 0.02);
}

/* --- Dynamic Moving Mesh Backdrop (from V2) --- */
.mesh-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, #F8FAFC 0%, #EFF6FF 60%, #E0F2FE 100%);
}

/* Subtle organic grain texture overlay */
.mesh-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.8;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.35;
  mix-blend-mode: normal; /* Normal mode is cleaner in light tech */
  animation: float-mesh 25s infinite alternate ease-in-out;
}

.blob-blue {
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
  top: -10%;
  left: -5%;
}

.blob-cyan {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0) 70%);
  bottom: -10%;
  right: -5%;
  animation-delay: -5s;
  animation-duration: 28s;
}

.blob-purple {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, rgba(139, 92, 246, 0) 70%);
  top: 35%;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 32s;
}

@keyframes float-mesh {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(6%, 10%) scale(1.08) rotate(120deg); }
  66% { transform: translate(-5%, -8%) scale(0.92) rotate(240deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

/* Highly detailed, premium B2B Cyber-Blueprint Technical Grid Overlay */
.tech-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='rgba(37, 99, 235, 0.08)' stroke-width='1'/%3E%3Cpath d='M 40 0 L 40 80 M 0 40 L 80 40' fill='none' stroke='rgba(6, 182, 212, 0.05)' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3Ccircle cx='40' cy='40' r='1.5' fill='rgba(6, 182, 212, 0.25)'/%3E%3Cpath d='M 0 0 L 5 0 M 0 0 L 0 5 M 80 0 L 75 0 M 80 0 L 80 5 M 0 80 L 5 80 M 0 80 L 0 75 M 80 80 L 75 80 M 80 80 L 80 75' fill='none' stroke='rgba(37, 99, 235, 0.18)' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

.tech-grid-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 10%, var(--bg-primary) 90%);
  pointer-events: none;
}

/* --- Centered Floating Pill Navigation (from V2) --- */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px; /* Increased from 980px to fit all B2B links */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(37, 99, 235, 0.08);
  padding: 0.7rem 2.2rem;
  border-radius: 60px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.01),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

/* Shrink pill nav slightly on scroll */
.header.scrolled {
  top: 0.8rem;
}

.header.scrolled .nav-pill {
  max-width: 1080px; /* Increased from 880px to prevent shrinking squish */
  padding: 0.5rem 1.8rem;
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow: 
    0 15px 45px rgba(37, 99, 235, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.01);
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0; /* Prevents logo text wrapping or overlapping */
}

.logo-icon {
  width: 38px;
  height: 38px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.06);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.logo:hover .logo-icon {
  transform: scale(1.06) rotate(2deg);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap; /* Prevents brand name breaking */
  flex-shrink: 0;
}

.logo-subtext {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem; /* Reduced from 2rem to prevent squeezing links */
  list-style: none;
  align-items: center;
  flex-shrink: 0; /* Prevents nav-menu container from shrinking */
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem; /* Slightly reduced from 0.92rem to fit */
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap; /* CRITICAL: Prevents navigation links from wrapping to two lines! */
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0; /* Prevents CTA wrapper shrinking */
}

.btn-quote {
  text-decoration: none;
  color: #FFFFFF;
  background: var(--accent-gradient);
  padding: 0.55rem 1.35rem;
  border-radius: 50px; /* capsule style button */
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  pointer-events: auto;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.3);
  background: var(--accent-gradient-glow);
}

/* Mobile Nav Toggle Pill */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  left: 0;
  transition: var(--transition-smooth);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.mobile-nav-toggle.active .hamburger {
  background: transparent;
}
.mobile-nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.mobile-nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* --- Hero Section --- */
.hero {
  min-height: 85vh; /* Premium proportional height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 110px; /* Safe space under floating nav-pill */
  padding-bottom: 0;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* Centered layout */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-border 3s infinite;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

.hero-subtext {
  font-size: 1.22rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 750px;
  line-height: 1.7;
  margin-left: auto; /* Center paragraph block */
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center; /* Center CTA buttons */
}

/* Custom Button variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.4rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 50px; /* Capsule buttons */
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-cyan {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--cyan-glow-shadow);
}

/* Diagonal shine animation from V2 */
.btn-primary-cyan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: -1;
}

.btn-primary-cyan:hover::before {
  left: 120%;
}

.btn-primary-cyan:hover {
  background: var(--accent-gradient-glow);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.4);
}

.btn-secondary-transparent {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(12px);
}

.btn-secondary-transparent:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(9, 30, 66, 0.05);
}

/* Social Proof Cinta Inferior */
.hero-social-proof {
  width: 100%;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  margin-top: auto; /* Push to the bottom of the flex container */
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  z-index: 5;
  position: relative;
}

.social-proof-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-proof-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.social-proof-items {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.social-proof-item {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition-smooth);
}

.social-proof-item:hover {
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.social-proof-icon {
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.social-proof-item:hover .social-proof-icon {
  transform: scale(1.1);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-pre {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--accent-blue);
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.75px;
  color: var(--text-primary);
}

.section-desc {
  max-width: 650px;
  margin: 1.2rem auto 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- Bento Grid / Pilares Tecnológicos con 3D overlapping layout (V2) --- */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.2rem;
}

.bento-card {
  position: relative;
  border-radius: 24px;
  padding: 2.8rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    0 8px 30px rgba(9, 30, 66, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(37, 99, 235, 0.02);
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 25px 50px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Bento Sizes */
.card-wide-7 { grid-column: span 7; }
.card-narrow-5 { grid-column: span 5; }

/* 3D Overlapping Bento Layouts */
.bento-layout-wrapper {
  display: flex;
  align-items: center; /* Vertically center the text and image */
  gap: 2rem;
  width: 100%;
}

.bento-text-side {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-image-side {
  flex: 0.8;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(9, 30, 66, 0.04);
  transform: translateY(10px) translateX(8px); /* Subtle 3D overlapping layout */
  transition: var(--transition-smooth);
  background: #FFFFFF;
}

.bento-card:hover .bento-image-side {
  transform: translateY(2px) translateX(1px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.bento-image-vertical {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transform: translateY(12px); /* Subtle 3D overlapping layout */
  transition: var(--transition-smooth);
  background: #FFFFFF;
  margin-top: 1rem;
  box-shadow: 0 10px 25px rgba(9, 30, 66, 0.04);
}

.bento-card:hover .bento-image-vertical {
  transform: translateY(4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-img {
  transform: scale(1.03);
}

.bento-icon-box {
  width: 54px;
  height: 54px;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-blue);
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-icon-box {
  background: var(--accent-blue);
  color: #FFFFFF;
  box-shadow: var(--blue-glow-shadow);
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.bento-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.bento-spec-item {
  display: flex;
  flex-direction: column;
}

.bento-spec-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bento-spec-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.bento-card-footer {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.bento-card-footer svg {
  transition: var(--transition-smooth);
}

.bento-card-footer:hover {
  color: var(--accent-cyan);
}

.bento-card-footer:hover svg {
  transform: translateX(5px);
}

/* --- Section: Software Modular (Futuristic Browser Mockup V2) --- */
.blueprint-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.blueprint-details {
  display: flex;
  flex-direction: column;
}

.blueprint-tag {
  color: var(--accent-blue);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blueprint-tag::before {
  content: '';
  width: 10px;
  height: 2px;
  background: var(--accent-blue);
}

.blueprint-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.blueprint-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* Browser-like Tab Navigation in Blueprint */
.tab-triggers {
  display: flex;
  background: rgba(37, 99, 235, 0.03);
  padding: 0.4rem;
  border-radius: 50px;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(37, 99, 235, 0.06);
  max-width: 420px;
}

.tab-trigger {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 50px;
  flex: 1;
  text-align: center;
}

.tab-trigger.active {
  color: var(--accent-blue);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.tab-contents {
  position: relative;
  min-height: 260px;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  visibility: hidden;
}

.tab-content.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  visibility: visible;
}

/* Tab Panel Title & Desc (Image 2 & 3) */
.tab-panel-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.5px;
}

.tab-panel-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
}

.feature-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: flex-start;
  gap: 1.5rem;
}

.feature-title-col {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-check {
  width: 20px;
  height: 20px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.feature-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

.feature-desc-col {
  display: flex;
  align-items: center;
}

.feature-item-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.product-action {
  margin-top: 2rem;
}

.product-action .btn {
  padding: 0.75rem 2rem;
  font-size: 0.92rem;
}

/* Modern Visual Browser Frame Mockup (V2 - HTML Dashboards) */
.blueprint-visual-panel {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  height: 440px;
  border: 1px solid var(--border-glass);
  background: #070B19; /* Dark dashboard background */
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.blueprint-panel-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.015) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
  pointer-events: none;
}

/* Dashboard Mockup Structure */
.dashboard-mockup {
  display: none;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 5;
}

.dashboard-mockup.active {
  display: flex;
}

/* Dashboard Mockup Browser Header */
.dashboard-mockup-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.dashboard-mockup-actions {
  display: flex;
  gap: 6px;
  position: absolute;
  left: 1.25rem;
}

.dashboard-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dashboard-mockup-dot.red { background-color: #FF5F56; }
.dashboard-mockup-dot.yellow { background-color: #FFBD2E; }
.dashboard-mockup-dot.green { background-color: #27C93F; }

.dashboard-mockup-address {
  margin: 0 auto;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Dashboard Mockup Body */
.dashboard-mockup-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dashboard-mockup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.dashboard-mockup-card {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboard-mockup-card.highlight-cyan {
  border-left: 3px solid var(--accent-cyan);
}

.dashboard-mockup-card.highlight-green {
  border-left: 3px solid #10B981;
}

.mockup-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
}

.mockup-card-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* Chart Styles */
.dashboard-mockup-chart-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

.mockup-chart-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
}

.mockup-chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 120px;
  padding: 0 0.5rem;
}

.mockup-chart-bar-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  margin: 0 6px;
}

.mockup-chart-bar {
  width: 100%;
  max-width: 32px;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.3), var(--accent-cyan));
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
  animation: chartGrow 1s ease-out forwards;
  transform-origin: bottom;
}

@keyframes chartGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Table Styles for Payroll */
.dashboard-mockup-table {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.mockup-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-lbl {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

.table-val {
  font-size: 0.88rem;
  color: #FFFFFF;
  font-weight: 700;
}

.mockup-table-total {
  border-bottom: none;
  padding-top: 0.25rem;
}

.mockup-table-total .table-lbl {
  font-weight: 700;
  color: #FFFFFF;
}

.highlight-cyan-text {
  color: var(--accent-cyan) !important;
  font-size: 1.05rem;
}

/* --- Section: Propuesta de Valor (Clean Glassmorphism V2) --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  position: relative;
  border-radius: 24px;
  padding: 2.8rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    0 8px 30px rgba(9, 30, 66, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(37, 99, 235, 0.02);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 25px 50px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.value-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid rgba(6, 182, 212, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.75rem;
  transition: var(--transition-smooth);
}

.value-card:hover .value-icon-box {
  background: var(--accent-cyan);
  color: #FFFFFF;
  box-shadow: var(--cyan-glow-shadow);
}

.value-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.value-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Section: Call to Action Final (High Contrast Azul Rey with Mesh Background) --- */
.cta-final {
  background-color: var(--accent-blue);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mesh gradient backdrop specifically for the CTA block */
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.cta-final-mesh-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.cta-final-mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  mix-blend-mode: screen;
}

.cta-blob-cyan {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(6, 182, 212, 0) 70%);
  bottom: -20%;
  right: -10%;
}

.cta-blob-purple {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.25) 0%, rgba(123, 97, 255, 0) 70%);
  top: -15%;
  left: 20%;
}

.cta-final-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.cta-final-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-final-content p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* CTA final checklist styles (Image 4) */
.cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin-top: 2rem;
}

.cta-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.cta-checklist-check {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* Glassmorphic Contact Form container */
.contact-form-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.8rem;
  box-shadow: var(--card-shadow-hover);
  color: var(--text-primary);
  position: relative;
  border: 1px solid var(--border-glass);
}

.contact-form-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--x, 0px) var(--y, 0px), rgba(6, 182, 212, 0.03), transparent 45%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  position: relative;
  z-index: 5;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
  letter-spacing: 0.5px;
}

.form-input, .form-select {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
  padding-right: 2.5rem;
}

.btn-submit {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: none;
  padding: 1rem;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 50px; /* capsule submit button */
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--cyan-glow-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 10px 22px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.form-feedback {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.form-feedback.success {
  display: block;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-feedback.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

/* Form Submission Success Card styling (Image 4) */
.form-success-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  animation: formSuccessFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-circle {
  width: 64px;
  height: 64px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.success-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

@keyframes formSuccessFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Footer --- */
.footer {
  background: var(--bg-pure);
  border-top: 1px solid var(--border-color);
  padding: 5.5rem 0 3.5rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 0.95fr) 1.05fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.logo-icon-footer {
  width: 32px;
  height: 32px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: #FFFFFF;
}

.logo-text-footer {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo-subtext-footer {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-menu a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 2.2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-legal-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
  color: var(--accent-blue);
}

/* --- Floating Design Switcher (Clean Pill style V2) --- */
.design-switcher-badge {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
  background: var(--bg-pure);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.design-switcher-badge:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: var(--blue-glow-shadow);
}

.switcher-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.switcher-icon {
  font-size: 1rem;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #FFFFFF;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: var(--transition-smooth);
  animation: whatsapp-pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.05) translateY(-2px);
  background-color: #22c35e;
  color: #FFFFFF !important;
}

.whatsapp-float svg {
  transition: var(--transition-smooth);
}

.whatsapp-float:hover svg {
  transform: rotate(5deg);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Animations --- */
@keyframes pulse-border {
  0%, 100% { border-color: rgba(37, 99, 235, 0.1); }
  50% { border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 0 12px rgba(6, 182, 212, 0.1); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
  .services-bento { gap: 1.5rem; }
  .bento-card { padding: 2.2rem; }
  .card-wide-7 { grid-column: span 6; }
  .card-narrow-5 { grid-column: span 6; }
  .bento-layout-wrapper { flex-direction: column; gap: 1rem; }
  .bento-image-side { height: 150px; transform: none; width: 100%; }
  .bento-image-vertical { transform: none; }
  .bento-card:hover .bento-image-side,
  .bento-card:hover .bento-image-vertical { transform: scale(1.01); }
}

@media (max-width: 992px) {
  .header { top: 1rem; }
  .nav-pill { padding: 0.6rem 1.5rem; border-radius: 50px; }
  .mobile-nav-toggle { display: block; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #FFFFFF;
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 100px 2.5rem 2.5rem;
    gap: 1.75rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
    z-index: 105;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
  }
  .nav-links.active { right: 0; }
  
  .hero h1 { font-size: 2.8rem; }
  .blueprint-grid { grid-template-columns: 1fr; gap: 3rem; }
  .blueprint-visual-panel { height: 350px; }
  .value-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-final-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section-padding { padding: 5rem 0; }
  .hero h1 { font-size: 2.1rem; }
  .hero-subtext { font-size: 1.05rem; margin-bottom: 2rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 1rem; }
  .btn { width: 100%; }
  
  .card-wide-7, .card-narrow-5 { grid-column: span 12 !important; }
  .bento-image-vertical { height: 120px; }
  
  .tab-triggers { flex-direction: column; gap: 0.25rem; max-width: 100%; }
  .tab-trigger { padding: 0.65rem 0; }
  .contact-form-container { padding: 2rem 1.5rem; }

  /* Responsive Feature Item grid stack */
  .feature-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  
  /* Prevent browser panel overflow in small screen */
  .blueprint-visual-panel {
    height: auto;
    min-height: 380px;
  }
  
  .dashboard-mockup-cards {
    gap: 0.75rem;
  }
  
  .dashboard-mockup-card {
    padding: 0.8rem 1rem;
  }
  
  .mockup-card-value {
    font-size: 1.15rem;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; }
  
  .social-proof-container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .social-proof-items { gap: 1.25rem; }
  .social-proof-item { font-size: 0.88rem; }
  
  .design-switcher-badge { bottom: 1rem; left: 1rem; }
  .switcher-text { display: none; }
  .switcher-link { padding: 0.75rem; }
  .whatsapp-float { bottom: 1rem; right: 1rem; width: 46px; height: 46px; }
  .whatsapp-float svg { width: 20px; height: 20px; }
}
