/* ===========================
   ARQUIASOFT - Styles
   =========================== */

/* --- Variables & Reset --- */
:root {
  --bg-primary: #060610;
  --bg-secondary: #0c0c1a;
  --bg-card: #111125;
  --accent: #00e5a0;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-dim: rgba(0, 229, 160, 0.08);
  --accent-glow: rgba(0, 229, 160, 0.35);
  --text-primary: #eaeaf0;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Noise overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* --- Cursor Glow --- */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  transform: translate(-50%, -50%);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--accent-purple));
  z-index: 101;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  margin-bottom: 2rem;
}

.preloader-logo svg {
  height: 40px;
  width: auto;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loadBar 1.5s ease-in-out forwards;
}

@keyframes loadBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* --- Particles --- */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  animation: floatP linear infinite;
}

@keyframes floatP {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: .6; }
  90% { opacity: .6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(6, 6, 16, 0.85);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  animation: slideD 0.6s ease-out 1.8s forwards;
}

@keyframes slideD {
  to { transform: translateY(0); }
}

.nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.nav-logo svg {
  height: 32px;
  width: auto;
}

.nav-logo:hover {
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s;
}

.nav-lang:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-cta:hover::before { left: 100%; }

.nav-cta:hover {
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  display: block;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 70%);
  animation: gridP 4s ease-in-out infinite;
}

@keyframes gridP {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  backface-visibility: hidden;
  animation: orbF 10s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 5%;
  right: -10%;
  opacity: .4;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  bottom: 5%;
  left: -8%;
  opacity: .3;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  opacity: .25;
  animation-delay: -3s;
}

@keyframes orbF {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  width: 1px;
  opacity: .1;
  will-change: transform;
  animation: lineD 8s linear infinite;
}

.hero-line:nth-child(1) { left: 10%; height: 200px; }
.hero-line:nth-child(2) { left: 30%; height: 150px; animation-delay: -2s; }
.hero-line:nth-child(3) { left: 60%; height: 180px; animation-delay: -4s; }
.hero-line:nth-child(4) { left: 80%; height: 120px; animation-delay: -6s; }
.hero-line:nth-child(5) { left: 95%; height: 160px; animation-delay: -1s; }

@keyframes lineD {
  0% { transform: translateY(-200px); opacity: 0; }
  10% { opacity: .15; }
  90% { opacity: .15; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.8s forwards;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .2; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero h1 .line { display: block; overflow: hidden; }

.hero h1 .line-inner {
  display: block;
  transform: translateY(110%);
  animation: revL 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .line:nth-child(1) .line-inner { animation-delay: 1.9s; }
.hero h1 .line:nth-child(2) .line-inner { animation-delay: 2.05s; }
.hero h1 .line:nth-child(3) .line-inner { animation-delay: 2.2s; }

@keyframes revL { to { transform: translateY(0); } }

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #00b8d4 50%, var(--accent-purple) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradS 4s ease-in-out infinite;
}

@keyframes gradS {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 2.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 2.6s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.5s;
  transform: translate(-50%, -50%);
}

.btn-primary:hover::before { width: 300px; height: 300px; }

.btn-primary:hover {
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-primary);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: inset 0 0 30px var(--accent-dim);
  transform: translateY(-3px);
}


/* --- Marquee --- */
.marquee-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-secondary);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: marq 20s linear infinite;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marquee-item::before {
  content: '\25C6';
  color: var(--accent);
  font-size: 0.5rem;
}

@keyframes marq {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Sections (General) --- */
section {
  padding: 7rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* --- Services --- */
#servicios {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
  contain: layout style paint;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 160, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover {
  border-color: rgba(0, 229, 160, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: all 0.4s;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon {
  background: rgba(0, 229, 160, 0.15);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 25px var(--accent-dim);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-card:hover h3 { color: var(--accent); }

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Process --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 68px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--accent-purple), transparent);
  opacity: .15;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  transition: all 0.4s;
}

.process-step:hover { background: rgba(0, 229, 160, 0.03); }

.process-number-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-number-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 160, 0.2);
  transition: all 0.4s;
}

.process-step:hover .process-number-wrapper::before {
  border-color: rgba(0, 229, 160, 0.5);
  box-shadow: 0 0 30px rgba(0, 229, 160, 0.15);
}

.process-number-wrapper::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.process-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 2;
  line-height: 1;
}

.process-step:hover .process-number {
  text-shadow: 0 0 15px var(--accent-glow);
}

.process-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 1.25rem;
  opacity: .3;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.process-step:hover h4 { color: var(--accent); }

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* --- Team --- */
#equipo {
  border-bottom: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.5s;
}

.team-card:hover {
  border-color: rgba(0, 229, 160, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.team-card:hover::before { opacity: 1; }

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0, 229, 160, 0.2);
  transition: all 0.4s;
  background: var(--bg-secondary);
}

.team-card:hover .team-photo {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-dim);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-dim);
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.team-certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.team-cert {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.team-linkedin {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s;
}

.team-linkedin svg {
  width: 16px;
  height: 16px;
}

.team-linkedin:hover {
  color: #0a66c2;
  border-color: #0a66c2;
  background: rgba(10, 102, 194, 0.08);
}

/* --- Tech Strip --- */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  justify-content: center;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: all 0.3s;
  cursor: default;
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* --- Contact --- */
#contacto {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  filter: blur(60px);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-info h2 span { color: var(--accent); }
.contact-info > p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 2.5rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-detail:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail:hover .contact-detail-icon {
  background: rgba(0, 229, 160, 0.15);
  border-color: var(--accent);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--accent-purple));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-primary); }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent), #00c9a7);
  color: var(--bg-primary);
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s;
}

.form-submit:hover::before { left: 100%; }

.form-submit:hover {
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

/* --- Footer --- */
footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo svg {
  height: 28px;
  width: auto;
}

footer p { font-size: 0.8rem; color: var(--text-muted); }
footer a { color: var(--accent); text-decoration: none; }

/* --- WhatsApp Button --- */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all 0.4s;
  text-decoration: none;
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 35px rgba(37, 211, 102, 0.6); }
}

.whatsapp-btn:hover { transform: scale(1.15) rotate(10deg); }
.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }

.whatsapp-tooltip {
  position: fixed;
  bottom: 2.5rem;
  right: 5.5rem;
  background: #111;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 99;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #111;
}

.whatsapp-btn:hover + .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger .reveal:nth-child(1) { transition-delay: 0s; }
.stagger .reveal:nth-child(2) { transition-delay: .1s; }
.stagger .reveal:nth-child(3) { transition-delay: .15s; }
.stagger .reveal:nth-child(4) { transition-delay: .2s; }
.stagger .reveal:nth-child(5) { transition-delay: .25s; }
.stagger .reveal:nth-child(6) { transition-delay: .3s; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .particles,
  .cursor-glow,
  .hero-orb,
  .hero-line {
    display: none;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 6, 16, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-right { display: none; }

  .mobile-cta {
    display: inline-block !important;
    background: var(--accent);
    color: var(--bg-primary) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
  }

  .mobile-lang {
    font-family: var(--font-mono) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s;
  }

  .mobile-lang:hover {
    color: var(--accent) !important;
    border-color: var(--accent);
  }

  .mobile-lang::after { display: none !important; }
  .mobile-cta::after { display: none !important; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .process-timeline::before { display: none; }
  .cursor-glow { display: none; }
}

@media (min-width: 901px) {
  .mobile-cta { display: none !important; }
  .mobile-lang { display: none !important; }
}
