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

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

:root {
  --bg:       #05080F;
  --bg2:      #090E1A;
  --surface:  #0C1222;
  --surface2: #101828;
  --primary:  #0066CC;
  --mid:      #0EA5E9;
  --cyan:     #00CFFF;
  --navy:     #0D1F4C;
  --text:     #E8EEF8;
  --muted:    #6B7E9A;
  --border:   rgba(255,255,255,0.06);
  --border2:  rgba(0,102,204,0.22);
  --green:    #22c55e;
  --purple:   #a78bfa;
  --glow:     rgba(0,102,204,0.38);
}

html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* HEADINGS — Plus Jakarta Sans */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

/* ══════════════════════════════════════════════
   SHARED UTILITIES
══════════════════════════════════════════════ */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,102,204,0.08);
  border: 1px solid rgba(0,207,255,0.18);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.label-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-sub {
  color: var(--muted); font-size: 15px; line-height: 1.75;
  max-width: 500px; margin: 12px auto 0;
}

.container { max-width: 1280px; margin: 0 auto; }
.section-center { text-align: center; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px;
  padding: 13px 26px; border-radius: 10px; border: none;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  background: var(--mid);
  box-shadow: 0 0 28px var(--glow), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: 10px;
  border: 1px solid var(--border2);
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,207,255,0.05);
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 0 24px; transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(5,8,15,0.96);
  backdrop-filter: blur(24px);
}
#navbar.scrolled .nav-inner { border-bottom-color: var(--border); }

.nav-inner {
  max-width: 1280px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 42px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 13.5px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--muted); padding: 8px;
}

#mobile-menu {
  display: none; flex-direction: column;
  background: rgba(5,8,15,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  color: var(--muted); text-decoration: none;
  padding: 12px 0; font-size: 15px;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
#mobile-menu a:last-child { border-bottom: none; }
#mobile-menu a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}
@media (max-width: 600px) {
  .btn-primary.nav-cta span { display: none; }
}

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.d1 { transition-delay: 0.08s; }
.fade-up.d2 { transition-delay: 0.16s; }
.fade-up.d3 { transition-delay: 0.24s; }
.fade-up.d4 { transition-delay: 0.32s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   GRID TEXTURE
══════════════════════════════════════════════ */
.grid-bg {
  background-image:
    linear-gradient(rgba(0,102,204,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,204,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ══════════════════════════════════════════════
   FLOATING WA
══════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 56px; height: 56px; background: #16a34a;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(34,197,94,0.4);
  text-decoration: none; transition: transform 0.2s;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ══════════════════════════════════════════════
   SECTION: HERO
══════════════════════════════════════════════ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 130px 24px 90px; position: relative; overflow: hidden;
}
.hero-glow-1 {
  position: absolute; top: 10%; right: 5%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,204,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -10%; left: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,207,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,207,255,0.06); border: 1px solid rgba(0,207,255,0.15);
  border-radius: 100px; padding: 5px 12px 5px 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--cyan); margin-bottom: 24px;
}
.hero-badge-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,207,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.035em; margin-bottom: 22px;
}
.hero-title .accent { color: var(--cyan); }
.hero-subtitle {
  display: block; font-size: 0.55em; font-weight: 400;
  color: var(--muted); letter-spacing: -0.01em; margin-top: 8px;
  font-family: 'DM Sans', sans-serif;
}
.hero-desc {
  color: var(--muted); font-size: 15.5px; line-height: 1.75;
  max-width: 500px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; }
.trust-icon {
  width: 18px; height: 18px; border-radius: 5px;
  background: rgba(0,102,204,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-sep { width: 1px; height: 16px; background: var(--border); }

/* Terminal */
.terminal-card {
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,102,204,0.08);
}
.terminal-bar {
  background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); margin-left: 8px; }
.terminal-body { padding: 20px 24px; min-height: 260px; overflow-y: auto; }
.t-line { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 2; display: flex; gap: 8px; }
.t-prompt { color: var(--cyan); user-select: none; }
.t-cmd { color: #a8d8ff; }
.t-out { color: var(--muted); padding-left: 16px; }
.t-ok { color: #4ade80; }
.t-result { color: var(--cyan); font-weight: 600; }
.t-sep { color: rgba(255,255,255,0.1); }
.t-cursor {
  display: inline-block; width: 2px; height: 14px;
  background: var(--cyan); vertical-align: middle;
  animation: blink-cur 1.1s step-end infinite;
}
@keyframes blink-cur { 0%,100%{opacity:1} 50%{opacity:0} }
.status-bar {
  background: rgba(0,207,255,0.04); border-top: 1px solid var(--border);
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
}
.status-live { display: flex; align-items: center; gap: 6px; color: var(--green); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-dot 1.5s infinite; }
.status-version { color: var(--muted); }

/* ══════════════════════════════════════════════
   SECTION: TICKER
══════════════════════════════════════════════ */
.ticker-wrap {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden; position: relative;
}
.ticker-wrap::before,.ticker-wrap::after {
  content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2;
}
.ticker-wrap::before { left:0; background:linear-gradient(90deg,var(--surface),transparent); }
.ticker-wrap::after  { right:0; background:linear-gradient(-90deg,var(--surface),transparent); }
.ticker-track {
  display: flex; animation: ticker 32s linear infinite; width: max-content;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); white-space: nowrap;
  border-right: 1px solid var(--border);
}
.ticker-val { color: var(--cyan); font-weight: 600; }

/* ══════════════════════════════════════════════
   SECTION: STATS
══════════════════════════════════════════════ */
#stats { padding: 80px 24px; }
.stats-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; background: var(--border); gap: 1px;
}
.stat-box {
  background: var(--surface); padding: 36px 28px; text-align: center;
  transition: background 0.2s;
}
.stat-box:hover { background: var(--surface2); }
.stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem; font-weight: 800; color: #fff;
  line-height: 1; margin-bottom: 6px; letter-spacing: -0.04em;
}
.stat-label { color: var(--muted); font-size: 13px; }

/* ══════════════════════════════════════════════
   SECTION: ABOUT
══════════════════════════════════════════════ */
#sobre-nosotros { padding: 100px 24px; }
.about-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; border-radius: 12px; transition: background 0.2s;
}
.about-feature:hover { background: rgba(255,255,255,0.02); }
.about-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; position: relative;
}
.av-mini {
  background: var(--surface2); border-radius: 14px; padding: 22px;
  text-align: center; border: 1px solid var(--border); transition: border-color 0.2s;
}
.av-mini:hover { border-color: var(--border2); }
.av-mini svg { margin-bottom: 10px; }

/* ══════════════════════════════════════════════
   SECTION: SERVICES
══════════════════════════════════════════════ */
#servicios {
  padding: 100px 24px;
  background: var(--surface); border-top: 1px solid var(--border);
}
.services-grid {
  max-width: 1280px; margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--primary)), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(0,102,204,0.25); transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,102,204,0.06);
}
.service-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 22px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.service-list li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.service-list li svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════
   SECTION: PORTFOLIO
══════════════════════════════════════════════ */
#portfolio { padding: 100px 24px; border-top: 1px solid var(--border); }
.portfolio-header {
  max-width: 1280px; margin: 0 auto 48px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.portfolio-header-sub {
  color: var(--muted); font-size: 14px;
  max-width: 280px; text-align: right; line-height: 1.7;
}
.portfolio-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr; gap: 24px;
}
.project-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; transition: all 0.3s;
  display: flex; flex-direction: column;
}
.project-card:hover {
  border-color: var(--border2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,102,204,0.08);
  transform: translateY(-4px);
}
.project-preview {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  height: 220px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.preview-browser {
  width: 85%; background: #1a2030; border-radius: 10px;
  overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: perspective(800px) rotateX(4deg);
}
.preview-bar {
  background: #141a26; padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
}
.prev-dot { width: 7px; height: 7px; border-radius: 50%; }
.preview-url {
  background: #0d1220; border-radius: 4px; padding: 3px 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  color: var(--muted); margin-left: 8px; flex: 1;
}
.preview-screen {
  height: 120px;
  background: linear-gradient(160deg, #0a0f1e 0%, #0d1525 50%, #0a1020 100%);
  padding: 10px 12px; display: flex; flex-direction: column; gap: 6px;
}
.preview-line { height: 7px; border-radius: 3px; background: rgba(255,255,255,0.06); }
.badge-live {
  position: absolute; top: 12px; right: 12px;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px; padding: 5px 10px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #4ade80;
}
.project-info { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.project-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,102,204,0.1); border: 1px solid var(--border2);
  border-radius: 6px; padding: 3px 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--mid); margin-bottom: 12px;
}
.project-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.project-info p { color: var(--muted); font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tech-badge {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 10px;
  font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--muted);
}
.project-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--cyan); font-size: 13px; font-weight: 700;
  text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif;
  transition: gap 0.2s;
}
.project-link:hover { gap: 11px; }
.project-cta {
  background: linear-gradient(145deg, rgba(0,102,204,0.1), rgba(0,207,255,0.04));
  border: 1px dashed rgba(0,207,255,0.2); border-radius: 20px;
  padding: 36px 28px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 16px;
}
.cta-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════════════
   SECTION: PROCESS
══════════════════════════════════════════════ */
#proceso {
  padding: 100px 24px;
  background: var(--surface); border-top: 1px solid var(--border);
}
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; background: var(--border); gap: 1px;
  margin-top: 56px;
}
.p-step {
  background: var(--bg2); padding: 36px 28px; transition: background 0.2s;
}
.p-step:hover { background: var(--surface2); }
.p-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--cyan); margin-bottom: 20px; letter-spacing: 0.1em;
}
.p-step-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(0,102,204,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.p-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.p-step p { color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ══════════════════════════════════════════════
   SECTION: TESTIMONIALS
══════════════════════════════════════════════ */
#testimonios { padding: 100px 24px; border-top: 1px solid var(--border); }
.testimonials-grid {
  max-width: 1280px; margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.testi-card:hover {
  border-color: var(--border2); transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.testi-card::after {
  content: '"'; position: absolute; bottom: -10px; right: 16px;
  font-size: 100px; font-family: Georgia, serif;
  color: rgba(0,102,204,0.08); line-height: 1; pointer-events: none;
}
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testi-card p {
  color: var(--muted); font-size: 14px; line-height: 1.8;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15px;
  color: #fff; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 14px; }
.author-role { color: var(--muted); font-size: 12px; margin-top: 2px; }
.google-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 10.5px; color: var(--muted);
  font-family: 'JetBrains Mono', monospace; margin-top: 4px;
}
.testi-cta {
  background: linear-gradient(145deg, rgba(0,102,204,0.08), rgba(0,207,255,0.04));
  border: 1px dashed rgba(0,207,255,0.15); border-radius: 20px; padding: 30px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 14px; min-height: 240px;
}

/* ══════════════════════════════════════════════
   SECTION: WHY
══════════════════════════════════════════════ */
#soluciones {
  padding: 100px 24px;
  background: var(--surface); border-top: 1px solid var(--border);
}
.why-grid {
  max-width: 1280px; margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.why-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px; transition: all 0.3s;
}
.why-card:hover { border-color: var(--border2); background: var(--surface2); }
.why-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.why-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ══════════════════════════════════════════════
   SECTION: FAQ
══════════════════════════════════════════════ */
#faq { padding: 100px 24px; border-top: 1px solid var(--border); }
.faq-wrap { max-width: 740px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; margin-bottom: 10px;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border2); }
.faq-btn {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--text); text-align: left;
  cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 14px; gap: 16px;
}
.faq-btn:hover { background: rgba(255,255,255,0.02); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s; color: var(--cyan); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-body-inner {
  padding: 0 24px 20px;
  color: var(--muted); font-size: 14px; line-height: 1.8;
}

/* ══════════════════════════════════════════════
   SECTION: CONTACT
══════════════════════════════════════════════ */
#contacto {
  padding: 100px 24px;
  background: var(--surface); border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.contact-glow {
  position: absolute; bottom: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,102,204,0.06), transparent 70%);
  pointer-events: none;
}
.contact-grid {
  max-width: 1000px; margin: 56px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.form-label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.form-input {
  width: 100%; background: var(--surface2);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 16px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.12);
}
.form-input::placeholder { color: var(--muted); }
select.form-input option { background: #090E1A; }
.contact-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}
.contact-row { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; padding: 8px 0; }
.contact-row-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(0,102,204,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; transition: all 0.2s;
}
.social-btn:hover {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,207,255,0.06);
}
.social-btn.wa-social:hover {
  border-color: var(--green) !important; color: var(--green) !important;
  background: rgba(34,197,94,0.06) !important;
}

/* ══════════════════════════════════════════════
   SECTION: CTA
══════════════════════════════════════════════ */
#cta-banner {
  padding: 80px 24px; border-top: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,102,204,0.08), transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════
   SECTION: FOOTER
══════════════════════════════════════════════ */
#footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 48px;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px; font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: 12px; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-title, .hero-desc { text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions, .hero-trust { justify-content: center; }
  .terminal-card { max-width: 560px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-header-sub { text-align: left; }
}
@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
}
