/* ============================================================
   LFB CONSULTING — Professional Design System
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0a2540;
  --navy-800: #0f2d4d;
  --navy-700: #1a3a5c;
  --brand-600: #2563eb;
  --brand-500: #3b82f6;
  --brand-400: #60a5fa;
  --brand-50: #eff6ff;

  /* Neutrals */
  --ink-900: #0b1220;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  /* Semantic */
  --success: #10b981;
  --success-dark: #059669;
  --warning: #f59e0b;
  --danger:  #ef4444;
  --whatsapp: #25d366;

  /* Service accents */
  --siesa: #2d5f8b;
  --aws: #f59e0b;
  --reporteria: #0ea5e9;
  --ia: #7c3aed;
  --dev: #64748b;
  --facturacion: #10b981;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-sm: 0 1px 3px rgba(11, 18, 32, 0.06), 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 18, 32, 0.07);
  --shadow-lg: 0 12px 28px rgba(11, 18, 32, 0.10);
  --shadow-xl: 0 24px 48px rgba(11, 18, 32, 0.14);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s var(--ease);
  --t-base: 0.25s var(--ease);
  --t-slow: 0.4s var(--ease);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding 0.25s var(--ease), border-color 0.25s var(--ease);
}

#header.scrolled {
  padding: 0.65rem 0;
  border-bottom-color: var(--ink-200);
  box-shadow: var(--shadow-sm);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  height: 42px;
  width: auto;
  transition: transform 0.3s var(--ease);
}

.logo-container:hover .logo { transform: scale(1.04); }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }

.logo-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--ink-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav */
#mainNav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#mainNav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

#mainNav ul a {
  text-decoration: none;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--t-base);
}

#mainNav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-600);
  border-radius: 2px;
  transition: width var(--t-base);
}

#mainNav ul a:hover { color: var(--brand-600); }
#mainNav ul a:hover::after { width: 100%; }

.cta-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink-900);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--t-base);
  white-space: nowrap;
}

.cta-nav i { font-size: 0.75rem; }

.cta-nav:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  border-radius: var(--r-sm);
  position: relative;
  transition: background var(--t-base);
}

.nav-toggle:hover { background: var(--ink-100); }

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.nav-toggle.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.5);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-backdrop.active { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  isolation: isolate;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 18, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  z-index: -1;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 4rem;
}

.hero-content { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-600);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-xs);
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.10); }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 1.5rem;
}

.hero-accent {
  background: linear-gradient(120deg, var(--brand-600), var(--ia) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-600);
  margin-bottom: 2.25rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink-200);
}

.metric { display: flex; flex-direction: column; gap: 0.15rem; }

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--ink-500);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--ink-200);
}

/* Hero visual - Terminal */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal {
  width: 100%;
  max-width: 480px;
  background: var(--ink-900);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}

.hero-visual:hover .terminal {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-header .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.terminal-title {
  margin-left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.terminal-body {
  padding: 1.25rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.9;
  color: #e2e8f0;
}

.terminal-body p { margin: 0; }
.terminal-body .prompt { color: var(--brand-400); margin-right: 0.4rem; }
.terminal-body .muted { color: rgba(255, 255, 255, 0.45); }
.terminal-body .success { color: #4ade80; }

.terminal-body .cursor {
  animation: blink 1s steps(2) infinite;
  color: var(--brand-400);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-800);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  animation: float 4s ease-in-out infinite;
}

.floating-badge i { color: var(--brand-600); }

.badge-1 { top: 10%;  right: -6%; animation-delay: 0s; }
.badge-2 { bottom: 12%; left: -8%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Trust bar */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  margin-top: 1rem;
  border-top: 1px solid var(--ink-200);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logos i {
  font-size: 1.6rem;
  color: var(--ink-400);
  transition: var(--t-base);
  cursor: default;
}

.trust-logos i:hover {
  color: var(--brand-600);
  transform: translateY(-3px);
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t-base);
  white-space: nowrap;
}

.btn i { font-size: 0.85rem; transition: transform var(--t-base); }

.btn-primary {
  background: var(--ink-900);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover i { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--ink-200);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--ink-400);
  color: var(--ink-900);
}

.btn-block { width: 100%; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-600);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 6rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--t-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  border-color: var(--ink-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card[data-accent="siesa"]::before      { background: var(--siesa); }
.service-card[data-accent="aws"]::before        { background: var(--aws); }
.service-card[data-accent="reporteria"]::before { background: var(--reporteria); }
.service-card[data-accent="ia"]::before         { background: var(--ia); }
.service-card[data-accent="dev"]::before        { background: var(--dev); }
.service-card[data-accent="facturacion"]::before{ background: var(--facturacion); }

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--ink-100);
  color: var(--ink-800);
  font-size: 1.15rem;
  transition: var(--t-base);
}

.service-card[data-accent="siesa"] .service-icon      { background: rgba(45, 95, 139, 0.10); color: var(--siesa); }
.service-card[data-accent="aws"] .service-icon        { background: rgba(245, 158, 11, 0.10); color: var(--aws); }
.service-card[data-accent="reporteria"] .service-icon { background: rgba(14, 165, 233, 0.10); color: var(--reporteria); }
.service-card[data-accent="ia"] .service-icon         { background: rgba(124, 58, 237, 0.10); color: var(--ia); }
.service-card[data-accent="facturacion"] .service-icon{ background: rgba(16, 185, 129, 0.10); color: var(--facturacion); }

.service-card:hover .service-icon { transform: scale(1.06); }

.service-body { display: flex; flex-direction: column; gap: 1rem; flex: 1; }

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.service-head h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.service-body > p {
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.65;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ink-100);
}

.service-features li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.85rem;
  color: var(--ink-700);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-600);
  transform: translateY(-50%);
}

.service-card[data-accent="siesa"] .service-features li::before      { background: var(--siesa); }
.service-card[data-accent="aws"] .service-features li::before        { background: var(--aws); }
.service-card[data-accent="reporteria"] .service-features li::before { background: var(--reporteria); }
.service-card[data-accent="ia"] .service-features li::before         { background: var(--ia); }
.service-card[data-accent="facturacion"] .service-features li::before{ background: var(--facturacion); }

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--ink-50);
  color: var(--ink-800);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t-base);
  text-decoration: none;
}

.service-cta i { font-size: 0.75rem; transition: transform var(--t-base); }

.service-cta:hover {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}

.service-cta:hover i { transform: translateX(3px); }

.service-actions { display: flex; flex-direction: column; gap: 0.5rem; }

.service-cta-secondary {
  background: transparent;
  color: var(--ink-600);
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tag-siesa      { background: rgba(45, 95, 139, 0.10); color: var(--siesa); }
.tag-aws        { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.tag-reporteria { background: rgba(14, 165, 233, 0.10); color: #0369a1; }
.tag-ia         { background: rgba(124, 58, 237, 0.10); color: var(--ia); }
.tag-facturacion{ background: rgba(16, 185, 129, 0.10); color: var(--success-dark); }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 6rem 0;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  transition: var(--t-base);
}

.process-step:hover {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-600);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--ink-600);
  line-height: 1.6;
}

/* ============================================================
   TECHNOLOGIES
   ============================================================ */
.technologies {
  padding: 6rem 0;
  background: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  transition: var(--t-base);
  cursor: default;
}

.tech-item:hover {
  background: var(--white);
  border-color: var(--brand-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tech-item i {
  font-size: 1.75rem;
  color: var(--ink-500);
  transition: var(--t-base);
}

.tech-item:hover i { color: var(--brand-600); }

.tech-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  text-align: center;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 6rem 0;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-side .section-eyebrow { display: block; }

.contact-side h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact-lead {
  font-size: 0.95rem;
  color: var(--ink-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink-900);
  transition: var(--t-base);
}

.quick-btn i {
  font-size: 1.35rem;
  color: var(--brand-600);
  flex-shrink: 0;
}

.quick-btn > div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.quick-btn strong { font-size: 0.85rem; font-weight: 700; color: var(--ink-900); }
.quick-btn span { font-size: 0.72rem; color: var(--ink-500); }

.quick-btn:hover {
  border-color: var(--brand-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-btn:hover i { color: var(--brand-600); }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink-200);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--ink-600);
}

.info-row i {
  width: 20px;
  color: var(--ink-400);
  font-size: 0.85rem;
}

.info-row a {
  color: var(--ink-700);
  text-decoration: none;
  transition: color var(--t-base);
}

.info-row a:hover { color: var(--brand-600); }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.01em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink-900);
  background: var(--white);
  transition: var(--t-base);
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-400); }

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: var(--ink-300); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2364748b' d='M4.5 6l3.5 4 3.5-4z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px;
  padding-right: 2.25rem;
  cursor: pointer;
}

.form-field textarea { resize: vertical; min-height: 110px; }

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--ink-400);
  text-align: center;
  margin: 0;
}

.form-note i { font-size: 0.7rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand { max-width: 340px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--t-base);
}

.social-icons a:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--t-base);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-bottom strong { color: #fff; font-weight: 600; }

.footer-legal {
  display: flex;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--t-base);
}

.footer-legal a:hover { color: #fff; }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.38);
  z-index: 900;
  transition: var(--t-base);
}

.whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
}

.scroll-top {
  position: fixed;
  bottom: 1.75rem;
  right: 6.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--t-base);
  z-index: 900;
  box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--brand-600);
  transform: translateY(-3px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content { max-width: 100%; }

  .hero-visual {
    order: 2;
    justify-content: center;
  }

  .terminal { transform: none; }
  .floating-badge { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .tech-grid     { grid-template-columns: repeat(4, 1fr); }

  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  #mainNav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85%, 360px);
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.75rem 2rem;
    box-shadow: -12px 0 40px rgba(11, 18, 32, 0.14);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 1000;
    overflow-y: auto;
  }

  #mainNav.active { transform: translateX(0); }

  #mainNav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 1.5rem;
  }

  #mainNav ul li { border-bottom: 1px solid var(--ink-100); }

  #mainNav ul a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 600;
  }

  #mainNav ul a::after { display: none; }

  .cta-nav {
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .nav-backdrop { display: block; }

  .hero { padding-top: 3rem; }
  .hero-container { padding-bottom: 2.5rem; }
  .hero-metrics { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .metric-divider { display: none; }

  .trust-bar { gap: 1.25rem; }
  .trust-logos { gap: 1.5rem; }
  .trust-logos i { font-size: 1.35rem; }

  .services,
  .process,
  .technologies,
  .contact { padding: 4rem 0; }

  .services-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .tech-grid     { grid-template-columns: repeat(3, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .contact-quick { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .scroll-top { right: 5.5rem; bottom: 1.5rem; width: 40px; height: 40px; }
  .whatsapp   { bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .logo-text { display: none; }

  .hero h1 { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.95rem; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }

  .tech-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-form { padding: 1.5rem; }

  .service-card { padding: 1.5rem; }
}

/* Reduced motion */
@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;
  }
}