/* ============================================================
   VINKRON — style.css
   Paleta: #0066FF | #0A0E14 | #1A1F29 | #BFC5CE | #F5F7FA
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --blue:       #0066FF;
  --blue-glow:  #0066FF99;
  --blue-light: #3385FF;
  --dark-1:     #0A0E14;
  --dark-2:     #1A1F29;
  --dark-3:     #0D1117;
  --gray:       #BFC5CE;
  --light:      #F5F7FA;
  --white:      #FFFFFF;
  --font-display: 'Orbitron', monospace;
  --font-ui:      'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;
  --nav-h:        80px;
  --section-pad:  100px;
  --radius:       12px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark-1);
  color: var(--light);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-1); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ---- Selection ---- */
::selection { background: var(--blue); color: var(--white); }

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

/* ============================================================
   GRID BACKGROUND PATTERN
   ============================================================ */
.grid-bg {
  background-image:
    linear-gradient(rgba(0,102,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-blue  { color: var(--blue); }
.text-gray  { color: var(--gray); }
.text-light { color: var(--light); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(0,102,255,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(0,102,255,0.06);
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.6); }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 16px;
}
.section-subtitle {
  font-family: var(--font-ui);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ---- Glow divider ---- */
.glow-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  border-radius: 2px;
  margin-bottom: 32px;
  box-shadow: 0 0 12px var(--blue);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(0,102,255,0.4);
}
.btn-primary:hover {
  background: var(--blue-light);
  box-shadow: 0 6px 32px rgba(0,102,255,0.6);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 16px rgba(0,102,255,0.2);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(0,102,255,0.1);
  color: var(--blue);
  border: 1px solid rgba(0,102,255,0.3);
}
.btn-ghost:hover {
  background: rgba(0,102,255,0.2);
  box-shadow: 0 0 20px rgba(0,102,255,0.3);
  transform: translateY(-2px);
}

/* ---- Card base ---- */
.card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,102,255,0.05), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.card:hover { border-color: rgba(0,102,255,0.3); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(0,102,255,0.1); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10,14,20,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0,102,255,0.5));
  transition: var(--transition);
}
.nav-logo img:hover {
  filter: drop-shadow(0 0 14px rgba(0,102,255,0.8));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0,102,255,0.4);
}
.nav-cta:hover {
  background: var(--blue-light) !important;
  box-shadow: 0 0 24px rgba(0,102,255,0.6) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  background: transparent;
  background-color: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background-color: #000000 !important;
  background: #000000 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0,102,255,0.25);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  color: var(--gray);
  padding: 14px 16px;
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.nav-mobile a:hover {
  color: var(--blue);
  background: rgba(0,102,255,0.08);
  border-color: rgba(0,102,255,0.2);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 60% 40%, rgba(0,102,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 90% 80%, rgba(0,102,255,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--dark-3) 0%, var(--dark-1) 100%);
  z-index: 0;
}

/* animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.hero-particles span {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--blue);
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100px) translateX(60px); opacity: 0; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,102,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  width: 100%;
}

.hero-left { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.3);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease 0.2s both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: pulse-dot 1.5s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-title .highlight {
  color: var(--blue);
  position: relative;
  text-shadow: 0 0 30px rgba(0,102,255,0.5);
}

.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  animation: fadeInUp 0.8s ease 1.0s both;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-number span { color: var(--blue); }
.stat-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 1s ease 0.6s both;
}

.laptop-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.laptop-wrapper img.laptop-img {
  width: 100%;
  max-width: 638px;
  filter: drop-shadow(0 20px 60px rgba(0,102,255,0.3));
  animation: float-laptop 4s ease-in-out infinite;
}
@keyframes float-laptop {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.laptop-glow {
  position: absolute;
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.3), transparent 70%);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(30px);
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--dark-2);
  border-top: 1px solid rgba(0,102,255,0.15);
  border-bottom: 1px solid rgba(0,102,255,0.15);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
.marquee-item .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#servicios {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--dark-1);
}
#servicios::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 0% 50%, rgba(0,102,255,0.06), transparent 60%);
  pointer-events: none;
}

.services-header { text-align: center; margin-bottom: 72px; }
.services-header .section-subtitle { margin: 0 auto 48px; text-align: center; }

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

.service-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
  margin-bottom: 8px;
}
.service-card:hover .service-icon {
  background: rgba(0,102,255,0.2);
  box-shadow: 0 0 20px rgba(0,102,255,0.3);
}

.service-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  opacity: 0.6;
}
.service-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.3px;
}
.service-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.service-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--blue);
  background: rgba(0,102,255,0.08);
  border: 1px solid rgba(0,102,255,0.2);
  padding: 4px 10px;
  border-radius: 100px;
}

.services-info-bar {
  margin-top: 64px;
  border-radius: 20px;
  overflow: hidden;
}
.services-info-bar img {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(0,102,255,0.15);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#nosotros {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--dark-2);
  overflow: hidden;
}
#nosotros::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,102,255,0.07), transparent 60%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-phone-wrap {
  position: relative;
  z-index: 2;
}
.about-phone-wrap img {
  max-width: 364px;
  filter: drop-shadow(0 30px 60px rgba(0,102,255,0.35));
  animation: float-laptop 5s ease-in-out infinite;
}
.about-badge-float {
  position: absolute;
  background: rgba(10,14,20,0.9);
  border: 1px solid rgba(0,102,255,0.3);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
}
.badge-float-1 {
  top: 10%;
  right: -20px;
  animation: float-badge1 4s ease-in-out infinite;
}
.badge-float-2 {
  bottom: 15%;
  left: -10px;
  animation: float-badge2 4.5s ease-in-out infinite;
}
@keyframes float-badge1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes float-badge2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
.badge-icon {
  font-size: 22px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,102,255,0.15);
  border-radius: 10px;
}
.badge-text strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.badge-text span {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--gray);
}

.about-content { position: relative; z-index: 1; }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 40px;
}
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  margin-top: 6px;
  flex-shrink: 0;
}
.feature-text strong {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}
.feature-text p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.value-item {
  background: rgba(0,102,255,0.05);
  border: 1px solid rgba(0,102,255,0.15);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.value-item:hover {
  background: rgba(0,102,255,0.1);
  border-color: rgba(0,102,255,0.35);
}
.value-item span:first-child { font-size: 20px; }
.value-item strong {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* ============================================================
   CASES SECTION
   ============================================================ */
#casos {
  padding: var(--section-pad) 0;
  background: var(--dark-1);
  position: relative;
}
#casos::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.07), transparent 60%);
  pointer-events: none;
}

.cases-header {
  margin-bottom: 64px;
}

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

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.case-image .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-2) 0%, #0D1F3C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}
.case-image .placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.15), transparent);
}
.case-image .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,20,0.9) 0%, transparent 50%);
}
.case-category {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,102,255,0.15);
  border: 1px solid rgba(0,102,255,0.3);
  padding: 6px 12px;
  border-radius: 100px;
}

.case-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.case-client {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}
.case-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.case-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
}
.case-metrics {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}
.metric-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.5px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border-top: 1px solid rgba(0,102,255,0.15);
  border-bottom: 1px solid rgba(0,102,255,0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,102,255,0.1), transparent 60%),
    linear-gradient(rgba(0,102,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.04) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
  pointer-events: none;
}

.cta-band .section-title { margin-bottom: 16px; }
.cta-band p {
  font-family: var(--font-ui);
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contacto {
  padding: var(--section-pad) 0;
  background: var(--dark-2);
  position: relative;
}
#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 100% 50%, rgba(0,102,255,0.06), transparent 60%);
  pointer-events: none;
}

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

.contact-info { padding-top: 8px; }

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.contact-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cp-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}
.contact-point:hover .cp-icon {
  background: rgba(0,102,255,0.2);
  box-shadow: 0 0 16px rgba(0,102,255,0.3);
}
.cp-text strong {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}
.cp-text span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
}

/* Form */
.contact-form-wrap {
  background: rgba(10,14,20,0.6);
  border: 1px solid rgba(0,102,255,0.15);
  border-radius: 20px;
  padding: 44px;
  backdrop-filter: blur(10px);
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.form-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray);
  text-transform: uppercase;
}
.form-input,
.form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(191,197,206,0.4); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  background: rgba(0,102,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
}
.form-textarea { resize: vertical; min-height: 130px; }

.form-submit {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-submit {
  padding: 16px 40px;
  font-size: 16px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0,102,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-submit:hover {
  background: var(--blue-light);
  box-shadow: 0 6px 32px rgba(0,102,255,0.6);
  transform: translateY(-2px);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
}
.form-status.success {
  display: flex;
  background: rgba(0,200,100,0.1);
  border: 1px solid rgba(0,200,100,0.3);
  color: #00C864;
}
.form-status.error {
  display: flex;
  background: rgba(255,60,60,0.1);
  border: 1px solid rgba(255,60,60,0.3);
  color: #FF3C3C;
}

.form-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray);
  opacity: 0.6;
  margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark-3);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0,102,255,0.4));
  margin-bottom: 20px;
}
.footer-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 24px;
  opacity: 0.8;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover {
  background: rgba(0,102,255,0.15);
  border-color: rgba(0,102,255,0.3);
  box-shadow: 0 0 12px rgba(0,102,255,0.2);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  opacity: 0.75;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--blue); opacity: 1; }

.footer-address {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  opacity: 0.7;
  line-height: 2;
}
.footer-address strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 6px;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  opacity: 0.5;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  opacity: 0.5;
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--blue); opacity: 1; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-bubble {
  background: var(--dark-2);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 14px 14px 4px 14px;
  padding: 12px 18px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: var(--transition);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.whatsapp-float:hover .whatsapp-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.whatsapp-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  animation: heartbeat 3s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.7);
}
.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: white;
}
.whatsapp-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: ring-expand 3s ease-in-out infinite;
}
.whatsapp-ring-2 {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.2);
  animation: ring-expand 3s ease-in-out 0.4s infinite;
}

@keyframes heartbeat {
  0%,100%  { transform: scale(1); }
  20%      { transform: scale(1.08); }
  30%      { transform: scale(1); }
  40%      { transform: scale(1.06); }
  50%      { transform: scale(1); }
}
@keyframes ring-expand {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   KEYFRAMES (entrada)
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   COUNTER ANIMATION
   ============================================================ */
.counting { display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-pad: 72px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-left { max-width: 100%; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { order: -1; }
  .laptop-wrapper img.laptop-img { max-width: 440px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .about-phone-wrap img { max-width: 286px; }

  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  :root { --section-pad: 56px; --nav-h: 68px; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .about-values { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 20px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .whatsapp-btn { width: 52px; height: 52px; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(0,102,255,0.3);
  border-radius: 10px;
  background: rgba(0,102,255,0.07);
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  white-space: nowrap;
}
.lang-btn .lang-flag {
  font-size: 17px;
  line-height: 1;
  display: block;
}
.lang-btn .lang-code {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gray);
  line-height: 1;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.lang-btn:hover .lang-code { color: var(--white); }
.lang-btn.active {
  background: rgba(0,102,255,0.2);
  border-color: rgba(0,102,255,0.55);
  box-shadow: 0 0 12px rgba(0,102,255,0.25);
}
.lang-btn.active .lang-code {
  color: var(--white);
}
.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  box-shadow: 0 0 6px var(--blue);
}

/* ── Mobile switcher ── */
.lang-switcher-mobile {
  display: none;
  padding: 14px 16px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(0,102,255,0.15);
  margin-top: 8px;
}
.lang-switcher-mobile .lang-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  flex-shrink: 0;
  margin-right: 4px;
}
.lang-switcher-mobile .lang-btn {
  height: 38px;
  padding: 0 14px;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.lang-switcher-mobile .lang-btn .lang-flag { font-size: 19px; }
.lang-switcher-mobile .lang-btn .lang-code { font-size: 12px; }
.lang-switcher-mobile .lang-btn.active {
  background: rgba(0,102,255,0.18);
  border-color: rgba(0,102,255,0.5);
}

@media (max-width: 900px) {
  .lang-switcher { display: none; }
  .lang-switcher-mobile { display: flex; }
}
