/* REEMPLAZA ESTE BLOQUE EN EL INICIO DE TU CSS */
:root {
  --bg: #06070D;
  --bg2: #0A0C18;
  --bg3: #0E1022;
  --blue: #4D6BFF;
  --cyan: #00D4FF;
  --green: #00FFB2;
  --white: #EEF0FF;
  
  /* MEJORA DE CONTRASTE: Grises premium con excelente legibilidad en pantallas AMOLED/OLED */
  --gray: #ced4f0;   /* Párrafos, subtítulos y descripciones principales */
  --gray2: #bbbec7;  /* Enlaces del navbar sin hover, labels secundarios y textos pequeños */
  
  --border: rgba(77,107,255,0.16);
  --border-c: rgba(0,212,255,0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 7, 13, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

nav.scrolled {
  padding: 12px 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-sym {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ld {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ld-t {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.ld-r {
  display: flex;
  gap: 4px;
}

.ld-b {
  background: rgba(238, 240, 255, 0.85);
}

.logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
}

.logo-name span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray2);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta {
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: rgba(0, 212, 255, 0.08) !important;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.2);
}

.nav-mobile {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 140px 64px 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(77, 107, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 107, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-g1 {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(77, 107, 255, 0.09) 0%, transparent 60%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.hero-g2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.hero-left {
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hero-title {
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero-title .tc {
  color: var(--cyan);
}

.hero-title .tg {
  color: var(--green);
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 0 32px rgba(77, 107, 255, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 52px rgba(77, 107, 255, 0.55);
}

.btn-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9px;
  border: 1.5px solid var(--cyan);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-g:hover {
  transform: translateY(-2px);
  background: rgba(0, 212, 255, 0.07);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.16);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

.trust-avatars {
  display: flex;
}

.ta {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-left: -8px;
}

.ta:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

.trust-text strong {
  color: var(--white);
  font-weight: 700;
}

/* HERO VISUAL */
.hero-right {
  position: relative;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hv-svg {
  width: 100%;
  height: auto;
}

/* Float cards */
.fc {
  position: absolute;
  background: rgba(10, 12, 24, 0.95);
  border: 1px solid var(--border-c);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.07);
}

.fc1 { top: 6%; left: -10%; animation: floatY 4s ease-in-out infinite; }
.fc2 { bottom: 10%; right: -8%; animation: floatY 4s ease-in-out infinite 2s; }
.fc3 { top: 44%; right: -12%; animation: floatY 3.5s ease-in-out infinite 1s; }

.fc-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fc-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.fc-sub {
  font-size: 10px;
  color: var(--gray2);
  margin-top: 2px;
}

.fc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
  display: inline-block;
  margin-right: 5px;
}

/* STATS */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10, 12, 24, 0.9);
  backdrop-filter: blur(12px);
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.9s;
  margin-top: 0;
}

.stat {
  padding: 20px 16px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  font-size: 30px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.42);
  letter-spacing: -0.03em;
}

.stat-l {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

/* ── PAIN SECTION ── */
.pain-sec {
  padding: 80px 64px;
  position: relative;
}

.pain-sec::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
}

.pain-title {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-align: center;
}

.pain-title span {
  color: var(--cyan);
}

.pain-sub {
  font-size: 15px;
  color: var(--gray);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

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

.pain-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}

.pain-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-3px);
}

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

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

.pain-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.pain-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pain-card-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
}

.pain-card-fix {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pain-card-fix::before {
  content: '→';
}

/* ── HOW WE WORK ── */
.how-sec {
  padding: 80px 64px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.sec-eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--cyan);
}

.sec-title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.sec-title span {
  color: var(--cyan);
}

.sec-desc {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 52px;
}

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

.step {
  position: relative;
  padding: 28px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.2s;
}

.step:hover {
  border-color: var(--border-c);
  transform: translateY(-3px);
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-c);
}

.step-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
}

/* ── SERVICES PREVIEW ── */
.svc-sec {
  padding: 80px 64px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.svc-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.svc-card:hover {
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 0 36px rgba(0, 212, 255, 0.05);
  transform: translateY(-4px);
}

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

.svc-icon {
  width: 44px;
  height: 44px;
  background: rgba(77, 107, 255, 0.1);
  border: 1px solid rgba(77, 107, 255, 0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.svc-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.svc-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.svc-tag::after {
  content: '→';
}

.svc-cta-wrap {
  text-align: center;
  margin-top: 8px;
}

.btn-svc-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(77, 107, 255, 0.15), rgba(0, 212, 255, 0.1));
  border: 1px solid var(--border-c);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}

.btn-svc-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
  background: linear-gradient(135deg, rgba(77, 107, 255, 0.25), rgba(0, 212, 255, 0.18));
}

.btn-svc-more span {
  color: var(--cyan);
}

/* ── PROJECTS SLIDER ── */
.proj-sec {
  padding: 80px 64px;
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.slider-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -64px;
  padding: 0 64px;
}

.slider-track {
  display: flex;
  gap: 24px;
  animation: slide 30s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

.proj-card {
  flex: 0 0 340px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.proj-card:hover {
  border-color: var(--border-c);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.06);
  transform: translateY(-4px);
}

.pc-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.pc-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid;
  backdrop-filter: blur(8px);
}

.pc-body {
  padding: 20px;
}

.pc-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.pc-client {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pc-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 14px;
}

.pc-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pc-link::after {
  content: '→';
}

/* ── TESTIMONIALS ── */
.testi-sec {
  padding: 80px 64px;
}

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

.testi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s;
}

.testi-card:hover {
  border-color: var(--border-c);
}

.testi-quote {
  font-size: 28px;
  color: var(--cyan);
  margin-bottom: 12px;
  line-height: 1;
}

.testi-text {
  font-size: 14px;
  color: rgba(238, 240, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border-c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.testi-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.testi-role {
  font-size: 11px;
  color: var(--gray2);
  margin-top: 2px;
}

/* ── FAQ ── */
.faq-sec {
  padding: 80px 64px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}

.faq-q .faq-icon {
  font-size: 18px;
  color: var(--cyan);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-a {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 12px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ── CTA FINAL ── */
.cta-sec {
  padding: 100px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(77, 107, 255, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 178, 0.07);
  border: 1px solid rgba(0, 255, 178, 0.22);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(0, 255, 178, 0.07);
}

.cta-title {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-title span {
  color: var(--cyan);
}

.cta-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  position: relative;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 32px;
}

.cta-contact-alts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cca {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.cca:hover {
  color: var(--cyan);
}

.cca span {
  font-weight: 700;
  color: var(--white);
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 64px 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.footer-brand-name span {
  color: var(--cyan);
}

.footer-tagline {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.fsoc {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fsoc:hover {
  border-color: var(--border-c);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.1);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(238, 240, 255, 0.2);
  letter-spacing: 0.04em;
}

.footer-made {
  font-size: 12px;
  color: rgba(238, 240, 255, 0.2);
}

.footer-made span {
  color: var(--cyan);
}

/* ── DIVIDER ── */
.gdiv {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  margin: 0 64px;
}

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: floatY 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-340px * 4 - 24px * 4)); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================================================
   NAVBAR COMPONENT - PREMIUM PRODUCTION LEVEL
   ========================================================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 7, 13, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

/* DESKTOP NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray2);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover, 
.nav-links a.active {
  color: var(--cyan);
}

.nav-cta {
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: rgba(0, 212, 255, 0.08) !important;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.2);
}

/* BOTÓN HAMBURGUESA (Oculto por defecto en Desktop) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 210;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle .line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.3s ease;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERY (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  nav {
    padding: 16px 24px;
  }

  .nav-toggle {
    display: flex; /* Se revela en móviles */
  }

  /* PANEL DESPLEGABLE MÓVIL FULL-SCREEN */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 7, 13, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 40px;
    
    /* Estado inicial colapsado - Optimizado para GPU */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* Estado Abierto (Inyectado por JavaScript) */
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 18px; /* Texto más grande para fácil toque dactilar */
    letter-spacing: 0.12em;
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 16px;
    font-size: 14px;
    padding: 14px 32px;
    width: auto;
    text-align: center;
  }

  /* INTERRUPTOR MORPHING: ANIMACIÓN DE HAMBURGUESA A "X" */
  .nav-toggle[aria-expanded="true"] .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--cyan);
  }

  .nav-toggle[aria-expanded="true"] .line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--cyan);
  }

  /* Regla auxiliar para congelar el scroll del sitio de fondo */
  body.nav-lock-scroll {
    overflow: hidden !important;
    height: 100vh !important;
  }
}

/* BUSCA TU BLOQUE FINAL @media(max-width: 1000px) Y ACTUALIZA ESTA SECCIÓN: */
@media(max-width: 1000px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  
  /* CORRECCIÓN: Evitamos que oculte la lista si el menú premium móvil está abierto */
  .nav-links:not(.is-open) { 
    display: none; 
  }
  
  /* Forzamos que si tiene .is-open, use flex y no herede el display: none */
  .nav-links.is-open {
    display: flex !important;
  }

  /* Eliminamos el display: block de la clase vieja para que no choque con el .nav-toggle */
  .nav-mobile { display: none !important; }
  
  /* El resto de tus componentes se mantienen idénticos y limpios */
  .hero { grid-template-columns: 1fr; padding: 110px 20px 60px; gap: 40px; }
  .hero-right { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .steps, .svc-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .pain-sec, .how-sec, .svc-sec, .proj-sec, .testi-sec, .faq-sec, .cta-sec { padding: 60px 20px; }
  .gdiv { margin: 0 20px; }
  .slider-wrap { margin: 0 -20px; padding: 0 20px; }
  footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}