/* =========================================================
   AURA SOLUTIONS — style.css
   Liquid Glass / Futuristic Dark — 2026
   ========================================================= */

/* ── Variables ── */
:root {
  --bg-0: #07070d;
  --bg-1: #0c0c18;
  --bg-2: #111124;

  --accent-blue:   #6366f1;
  --accent-violet: #8b5cf6;
  --accent-purple: #a855f7;

  --grad-main: linear-gradient(135deg, var(--accent-blue), var(--accent-violet), var(--accent-purple));
  --grad-text: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
  --grad-border: linear-gradient(135deg, rgba(99,102,241,0.5), rgba(168,85,247,0.3));

  --glass-bg:      rgba(255,255,255,0.04);
  --glass-bg-h:    rgba(255,255,255,0.07);
  --glass-border:  rgba(255,255,255,0.08);
  --glass-top:     rgba(255,255,255,0.18);
  --glass-left:    rgba(255,255,255,0.12);

  --text-1: rgba(255,255,255,0.95);
  --text-2: rgba(255,255,255,0.60);
  --text-3: rgba(255,255,255,0.35);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-glass: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
  --shadow-glow:  0 0 60px rgba(139,92,246,0.12);
  --shadow-card:  0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(139,92,246,0.07);

  --nav-h: 68px;
  --container: 1180px;
  --section-py: 110px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: var(--bg-0); }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
p  { color: var(--text-2); font-size: 1rem; line-height: 1.75; }

/* ── Heading hierarchy overrides (h4→h3, h5→h3 for SEO — preserve visual sizes) ── */
.why-card h3,
.process-step h3,
.contact-card h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; }

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

/* ── Client logos: dark-background treatment + CLS prevention ── */
.client-logo img {
  max-width: 130px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.client-logo:hover img { opacity: 0.85; }

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

/* ── Glass utility ── */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-top);
  border-left-color: var(--glass-left);
  box-shadow: var(--shadow-glass);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--grad-main);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(139,92,246,0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(139,92,246,0.5);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 12px rgba(139,92,246,0.35);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-1);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-top);
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-glass:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
  transform: translateY(-2px);
}
.btn-glass:active {
  transform: translateY(0) scale(0.98);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--grad-main);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 2px 16px rgba(139,92,246,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(139,92,246,0.45); }

.btn-lg { padding: 17px 38px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--r-sm); }
.btn-wa { gap: 10px; }

/* ── Badges ── */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 20px;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

/* ── Custom Cursor ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: rgba(167, 139, 250, 0.95);
  margin-left: -4px;
  margin-top: -4px;
  transition: opacity 0.25s ease;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(167, 139, 250, 0.5);
  z-index: 9998;
  margin-left: -19px;
  margin-top: -19px;
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease,
              border-color 0.2s ease, opacity 0.25s ease;
}
body.has-custom-cursor,
body.has-custom-cursor * { cursor: none !important; }

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  border-color: rgba(167, 139, 250, 0.85);
}
body.cursor-hover .cursor-dot { opacity: 0.4; }

/* Hide on touch devices */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad-main);
  z-index: 300;
  pointer-events: none;
  transition: width 80ms linear;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Section spacing ── */
section { padding: var(--section-py) 0; position: relative; }

/* =========================================================
   NAV
   ========================================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 14px;
  transition: padding 0.35s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 40px;
  border-radius: 100px;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}
#navbar.scrolled {
  padding-top: 10px;
}
#navbar.scrolled .nav-inner {
  background: linear-gradient(135deg, rgba(10,10,20,0.88), rgba(14,14,28,0.92));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.09);
  border-top-color: rgba(255,255,255,0.14);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.06);
  padding-left: 28px;
  padding-right: 18px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-solutions-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad-main);
  transition: width 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-1); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: calc(var(--nav-h) + 20px);
  left: 16px;
  right: 16px;
  z-index: 99;
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.09);
  border-top-color: rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 32px 28px 36px;
  transform: translateY(-130%);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mobile-menu.open { opacity: 1; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.mobile-menu ul a:hover { color: var(--text-1); }
.mobile-menu .btn-primary { align-self: center; }

/* =========================================================
   HERO
   ========================================================= */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

/* Background orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 65%);
  top: -150px; left: -150px;
  animation: orbDrift1 22s ease-in-out infinite;
}
.orb-2 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(168,85,247,0.3) 0%, transparent 65%);
  top: 100px; right: -120px;
  animation: orbDrift2 28s ease-in-out infinite;
}
.orb-3 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 65%);
  bottom: -60px; left: 38%;
  animation: orbDrift3 19s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(60px,-40px) scale(1.08); }
  66%      { transform: translate(-30px,50px) scale(0.95); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0); }
  40%     { transform: translate(-55px,65px); }
  70%     { transform: translate(35px,-25px); }
}
@keyframes orbDrift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-50px,-35px) scale(1.1); }
}

/* Grid overlay */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: #a78bfa;
  border-radius: 50%;
  box-shadow: 0 0 8px #a78bfa;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.75); }
}

.hero-title {
  margin-bottom: 24px;
  max-width: 820px;
}

.hero-sub {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num-wrap { display: flex; align-items: baseline; gap: 1px; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-plus { font-size: 1.4rem; font-weight: 800; color: #a78bfa; }
.stat-label { font-size: 0.8rem; color: var(--text-3); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(139,92,246,0.6), transparent);
  margin: 0 auto;
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   SERVICIOS — PILARES
   ========================================================= */
#servicios { background: linear-gradient(to bottom, var(--bg-0), var(--bg-1)); }

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

.pillar-card {
  border-radius: var(--r-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(
    380px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(139, 92, 246, 0.13),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.pillar-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.pillar-card:hover::after { opacity: 1; }
.pillar-card > * { position: relative; z-index: 1; }

.pillar-icon-wrap {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--r-md);
  margin-bottom: 24px;
}
.pillar-icon-wrap img { width: 36px; height: 36px; object-fit: contain; }

.pillar-card h3 { color: var(--text-1); margin-bottom: 12px; }
.pillar-card > p { margin-bottom: 24px; font-size: 0.95rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  padding: 5px 13px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.02em;
}

/* =========================================================
   POR QUÉ AURA
   ========================================================= */
#por-que { background: var(--bg-1); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.why-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--r-sm);
  margin-bottom: 18px;
  color: #a78bfa;
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.14));
  border-color: rgba(139,92,246,0.4);
}
.why-card h4 { color: var(--text-1); margin-bottom: 10px; }
.why-card p { font-size: 0.92rem; }

/* =========================================================
   CLIENTES
   ========================================================= */
#clientes { background: linear-gradient(to bottom, var(--bg-1), var(--bg-0)); }

.clients-marquee-outer {
  overflow: hidden;
  padding: 8px 0;
}
.clients-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.clients-marquee-track:hover { animation-play-state: paused; }
.clients-marquee-group {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-marquee-track { animation: none; }
}

.client-logo {
  width: 200px;
  height: 90px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  flex-shrink: 0;
  transition: border-color 0.25s ease;
}
.client-logo:hover { border-color: rgba(139,92,246,0.35); }

.client-monogram {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.client-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

/* =========================================================
   PROCESO
   ========================================================= */
#proceso { background: var(--bg-0); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.process-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  padding: 36px 32px 48px;
  background: rgba(255,255,255,0.025);
  border: 1.5px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  border-color: rgba(139,92,246,0.35);
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(139,92,246,0.1);
}

.process-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.process-card.visible .process-card-accent { transform: scaleY(1); }

.process-step-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.process-card-num {
  position: absolute;
  bottom: -14px;
  right: 16px;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(139,92,246,0.05);
  pointer-events: none;
  user-select: none;
  transition: color 0.5s ease;
}

.process-card.visible .process-card-num { color: rgba(139,92,246,0.10); }
.process-card:hover .process-card-num   { color: rgba(139,92,246,0.16); }

/* =========================================================
   CTA FINAL
   ========================================================= */
#cta-final { background: linear-gradient(to bottom, var(--bg-0), var(--bg-1)); }

.cta-box {
  border-radius: var(--r-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ctaGlow 6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; }
  50%     { transform: translate(-50%,-50%) scale(1.2); opacity: 1; }
}
.cta-box .section-badge { margin-bottom: 24px; }
.cta-box h2 { color: var(--text-1); margin-bottom: 16px; max-width: 600px; margin-inline: auto; font-size: 2.4rem; }
.cta-box > p { font-size: 1.05rem; max-width: 540px; margin: 0 auto 40px; position: relative; z-index: 1; }
.cta-box .section-badge, .cta-box h2, .cta-box p { position: relative; z-index: 1; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =========================================================
   CONTACTO
   ========================================================= */
#contacto { background: var(--bg-1); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  border-radius: var(--r-lg);
  padding: 48px 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group:last-of-type { margin-bottom: 28px; }
.form-row .form-group { margin-bottom: 0; }

label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  color: var(--text-1);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, textarea:focus, select:focus {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
  background: rgba(255,255,255,0.06);
}
select option { background: var(--bg-1); color: var(--text-1); }
textarea { resize: vertical; min-height: 120px; }

.form-note {
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-3);
  margin-top: 16px;
}
.form-note a { color: #a78bfa; text-decoration: underline; text-underline-offset: 3px; }

/* Contact side */
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  border-radius: var(--r-md);
  padding: 28px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.contact-card h4 { color: var(--text-1); margin-bottom: 4px; font-size: 1rem; }
.contact-card p { font-size: 0.88rem; line-height: 1.55; }
.contact-card strong { color: var(--text-1); }

.contact-features { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.feature-check {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.15));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #a78bfa;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================
   FOOTER
   ========================================================= */
#footer {
  background: var(--bg-0);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-tagline { font-size: 0.78rem; color: var(--text-3); margin-top: 12px; font-style: italic; }

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-3);
  transition: color 0.2s ease;
  display: block;
}
.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-3); }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
  color: white;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* =========================================================
   FORM SUCCESS OVERLAY
   ========================================================= */
.form-success {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7,7,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.form-success[hidden] { display: none; }
.success-box {
  border-radius: var(--r-lg);
  padding: 60px 52px;
  text-align: center;
  max-width: 420px;
  width: 100%;
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin: 0 auto 24px;
}
.success-box h3 { margin-bottom: 12px; }
.success-box p { margin-bottom: 32px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-py: 88px; }

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

  .process-grid { gap: 16px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  :root { --section-py: 72px; }

  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillar-card { padding: 32px 28px; }

  .why-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: 28px; }
  .stat-num { font-size: 1.9rem; }

  .cta-box { padding: 52px 32px; }

  .process-grid { grid-template-columns: 1fr; gap: 14px; }
  .process-card { padding: 28px 24px 40px; }
  .process-card-num { font-size: 6rem; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 36px 28px; }
}

/* Mobile */
@media (max-width: 540px) {
  :root { --section-py: 60px; }

  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { display: none; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-glass { width: 100%; max-width: 320px; justify-content: center; }

  .hero-badge { font-size: 0.72rem; text-align: center; }

  .client-logo { width: 160px; height: 88px; }

  .cta-box { padding: 40px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .contact-form { padding: 28px 20px; }
}
