/* =====================================================================
   Vértice · VerticeLABS — hoja de estilos principal
   Paleta de marca: azul noche + gradiente azul→violeta→fucsia (logo Vértice)
   Fuente: Sora (Google Fonts, cargada desde index.html)
   Estructura: variables → fondo → nav → hero → secciones → responsive
   ===================================================================== */

/* ── 1. Variables y reset ──────────────────────────────────────────── */

:root {
  --bg: #0a1128;
  --bg-2: #0d1533;
  --azul: #3b82f6;
  --azul-brillo: #60a5fa;
  --violeta: #7c3aed;
  --fucsia: #a855f7;
  --cian: #22d3ee;
  --texto: #eef2ff;
  --texto-suave: #a5b4fc;
  --borde: rgba(165, 180, 252, 0.16);
  --radio: 20px;
  --wa: #25d366;
  --wa-oscuro: #06220f;
  --gradiente-marca: linear-gradient(90deg, var(--azul), var(--violeta), var(--fucsia));
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--texto);
  font-family: 'Sora', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(168, 85, 247, 0.45); color: #fff; }

img { display: block; max-width: 100%; }

/* ── 2b. Fondo: esferas de gradiente a la deriva + barrido de luz ─── */

.esfera-fondo {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(64px);
  opacity: 0.16;
  will-change: transform;
}
.esf1 {
  width: 520px; height: 520px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  animation: deriva1 26s ease-in-out infinite alternate;
}
.esf2 {
  width: 460px; height: 460px;
  bottom: -160px; right: -120px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  animation: deriva2 32s ease-in-out infinite alternate;
}
.esf3 {
  width: 380px; height: 380px;
  top: 42%; left: 58%;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  animation: deriva3 22s ease-in-out infinite alternate;
}
@keyframes deriva1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(190px, 130px) scale(1.25); }
}
@keyframes deriva2 {
  from { transform: translate(0, 0) scale(1.1); }
  to { transform: translate(-230px, -150px) scale(0.9); }
}
@keyframes deriva3 {
  from { transform: translate(0, 0) scale(0.9); }
  to { transform: translate(-150px, 170px) scale(1.2); }
}

/* barrido de luz diagonal periódico sobre todo el fondo */
.barrido-luz {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 44%, rgba(124, 58, 237, 0.10) 49%, rgba(59, 130, 246, 0.12) 53%, transparent 58%);
  transform: translateX(-130%);
  animation: barrido 17s ease-in-out infinite;
}
@keyframes barrido {
  0%, 62% { transform: translateX(-130%); }
  82% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

/* ── 2c. Fondo: aurora + malla en perspectiva + partículas ────────── */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 12%, rgba(59, 130, 246, 0.28), transparent 70%),
    radial-gradient(45% 40% at 80% 35%, rgba(124, 58, 237, 0.26), transparent 70%),
    radial-gradient(40% 38% at 18% 65%, rgba(168, 85, 247, 0.18), transparent 70%),
    radial-gradient(30% 30% at 65% 85%, rgba(34, 211, 238, 0.10), transparent 70%);
  animation: respirar 9s ease-in-out infinite alternate;
}
@keyframes respirar {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.07); }
}

.grid-fondo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(165, 180, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 180, 252, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(58deg) scale(2.2) translateY(6%);
  transform-origin: 50% 0%;
  mask-image: radial-gradient(ellipse at 50% 0%, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 25%, transparent 72%);
  animation: malla 24s linear infinite;
}
@keyframes malla {
  from { background-position: 0 0; }
  to { background-position: 0 56px; }
}

#particulas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── 3. Nav ───────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(10, 17, 40, 0.92), rgba(10, 17, 40, 0));
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(10, 17, 40, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.nav-marca {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--texto);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-marca svg { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.6)); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  color: #c7d2fe;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--gradiente-marca);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  background: var(--gradiente-marca);
  background-size: 200% 100%;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
}
.nav-cta:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.6);
}

/* ── 4. Hero ──────────────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

/* logo isométrico 3D estilo SVGator: prisma hexagonal giratorio */
.logo-iso {
  width: 88px; height: 88px;
  position: relative;
  perspective: 600px;
  animation: flotar-logo 4.5s ease-in-out infinite alternate;
}
@keyframes flotar-logo {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.logo-iso .inclinar {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(-24deg);
}
.logo-iso .giro {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: girar-iso 11s linear infinite;
}
@keyframes girar-iso {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
/* caras laterales del prisma (6, en gradientes de marca) */
.logo-iso .lado {
  position: absolute;
  left: 50%; top: 50%;
  width: 44px; height: 26px;
  margin: -13px 0 0 -22px;
  transform: rotateY(var(--ry)) translateZ(38.1px);
  background: var(--cara);
}
.l0 { --ry: 0deg;   --cara: linear-gradient(180deg, #60a5fa, #2563eb); }
.l1 { --ry: 60deg;  --cara: linear-gradient(180deg, #7c3aed, #5b21b6); }
.l2 { --ry: 120deg; --cara: linear-gradient(180deg, #a855f7, #7e22ce); }
.l3 { --ry: 180deg; --cara: linear-gradient(180deg, #60a5fa, #1e40af); }
.l4 { --ry: 240deg; --cara: linear-gradient(180deg, #7c3aed, #4c1d95); }
.l5 { --ry: 300deg; --cara: linear-gradient(180deg, #a855f7, #6b21a8); }
/* tapas superior e inferior del prisma */
.logo-iso .tapa-sup,
.logo-iso .tapa-inf {
  position: absolute;
  left: 50%; top: 50%;
  width: 76.2px; height: 88px;
  margin: -44px 0 0 -38.1px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.logo-iso .tapa-sup {
  background: linear-gradient(135deg, #3b82f6, #7c3aed 55%, #a855f7);
  transform: rotateX(90deg) translateZ(13px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-iso .tapa-sup svg { width: 62%; height: 62%; }
.logo-iso .tapa-inf {
  background: #312e81;
  transform: rotateX(90deg) translateZ(-13px);
}
/* sombra proyectada debajo del prisma */
.logo-iso::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -20px;
  width: 92px; height: 16px;
  margin-left: -46px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.5), transparent 70%);
  filter: blur(6px);
  animation: sombra-logo 4.5s ease-in-out infinite alternate;
}
@keyframes sombra-logo {
  from { transform: scaleX(1); opacity: 0.85; }
  to { transform: scaleX(0.78); opacity: 0.45; }
}

.wordmark {
  margin-top: clamp(1.8rem, 5vw, 3rem);
  font-size: clamp(3.4rem, 11vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  perspective: 600px;
}
.wordmark .inner {
  display: inline-block;
  background: linear-gradient(90deg, #eef2ff, var(--azul-brillo), var(--fucsia), var(--violeta), #eef2ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brillo 6s linear infinite, entrar-wm 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) both;
  transform-origin: 50% 100%;
}
@keyframes brillo {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes entrar-wm {
  0% { opacity: 0; transform: rotateX(48deg) translateY(40px); filter: blur(6px); }
  100% { opacity: 1; transform: rotateX(0deg) translateY(0); filter: blur(0); }
}

.tagline {
  margin-top: 1.2rem;
  color: #c7d2fe;
  opacity: 0.9;
  font-weight: 300;
  font-size: clamp(0.78rem, 2vw, 1rem);
  letter-spacing: 0.42em;
  animation: entrar-sub 0.8s ease 0.35s both;
}
.sub {
  margin-top: 1.6rem;
  color: var(--texto-suave);
  font-weight: 300;
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  max-width: 640px;
}
@keyframes entrar-sub {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-ctas {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: entrar-sub 0.8s ease 0.75s both;
}
.cta {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  background: var(--gradiente-marca);
  background-size: 200% 100%;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.45);
  transition: background-position 0.5s, transform 0.2s, box-shadow 0.3s;
}
.cta:hover {
  background-position: 100% 50%;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 56px rgba(124, 58, 237, 0.65);
}
.cta-wa {
  background: var(--wa);
  color: var(--wa-oscuro);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.35);
}
.cta-wa:hover { box-shadow: 0 16px 56px rgba(37, 211, 102, 0.55); }
.cta-ghost {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--borde);
  color: #c7d2fe;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.cta-ghost:hover {
  border-color: rgba(168, 85, 247, 0.6);
  color: #fff;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.25);
}

.confianza {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--texto-suave);
  letter-spacing: 0.06em;
  animation: entrar-sub 0.8s ease 0.9s both;
}
.confianza span::before { content: "◆"; color: var(--fucsia); margin-right: 0.45rem; font-size: 0.6rem; vertical-align: 2px; }

.scroll-pista {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 42px;
  border: 1.5px solid rgba(165, 180, 252, 0.4);
  border-radius: 999px;
  animation: entrar-sub 0.8s ease 1s both;
}
.scroll-pista::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--fucsia);
  box-shadow: 0 0 10px var(--fucsia);
  animation: ruedita 1.8s ease-in-out infinite;
}
@keyframes ruedita {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── 5. Secciones comunes ─────────────────────────────────────────── */

.seccion {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem clamp(1.2rem, 4vw, 3.5rem);
}
.etiqueta {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fucsia);
  margin-bottom: 0.8rem;
}
.seccion-titulo {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}
.seccion-titulo .acc {
  background: linear-gradient(90deg, var(--azul-brillo), var(--violeta), var(--fucsia));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brillo 5s linear infinite;
}
.seccion-sub {
  color: var(--texto-suave);
  font-weight: 300;
  max-width: 640px;
  margin-bottom: 2.8rem;
}

/* ── 6. Nosotros ──────────────────────────────────────────────────── */

.nosotros-manifiesto {
  max-width: 760px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 300;
  color: var(--texto);
  margin-bottom: 3rem;
}
.nosotros-manifiesto strong {
  background: linear-gradient(90deg, var(--azul-brillo), var(--fucsia));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ── Ícono hexágono con gradiente de marca (servicios) ────────────── */

.hex-ico {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: 0.9rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  filter: drop-shadow(0 8px 20px rgba(124, 58, 237, 0.45));
}
.hex-ico svg { width: 26px; height: 26px; }
.hex-azul { background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.hex-violeta { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.hex-fucsia { background: linear-gradient(135deg, #a855f7, #3b82f6); }
.hex-cian { background: linear-gradient(135deg, #22d3ee, #7c3aed); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--borde);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  overflow: hidden;
}
.stat {
  background: rgba(10, 17, 40, 0.85);
  padding: 1.6rem 1.2rem;
  text-align: center;
}
.stat .num {
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--azul-brillo), var(--fucsia));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}
.stat .lbl {
  color: var(--texto-suave);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}

/* ── 7. Servicios ─────────────────────────────────────────────────── */

.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.servicio {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radio);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--borde);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.servicio:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 20px 48px rgba(59, 130, 246, 0.16), 0 4px 16px rgba(124, 58, 237, 0.22);
  transform: translateY(-3px);
}
.servicio h3 { font-size: 1.15rem; font-weight: 700; }
.servicio p { color: var(--texto-suave); font-weight: 300; font-size: 0.92rem; flex: 1; }
.servicio .pedir {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fucsia);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.servicio .pedir .arr { transition: transform 0.25s; }
.servicio:hover .pedir .arr { transform: translateX(6px); }

/* ── 8. Productos: grid 3D con capturas ───────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
  perspective: 1400px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.7rem;
  border-radius: var(--radio);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--borde);
  text-decoration: none;
  color: var(--texto);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.2s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: transform;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 85, 247, 0.16), rgba(59, 130, 246, 0.06) 45%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 26px 60px rgba(59, 130, 246, 0.2), 0 8px 24px rgba(124, 58, 237, 0.28);
}
.card:hover::after { opacity: 1; }

/* foto superior de la tarjeta */
.card .foto {
  position: relative;
  height: 150px;
  margin: -1.7rem -1.7rem 0.2rem;
  border-radius: var(--radio) var(--radio) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(124, 58, 237, 0.16));
}
.card .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: translateZ(24px);
  transition: transform 0.5s ease;
}
.card:hover .foto img { transform: translateZ(24px) scale(1.04); }
.card .mini-badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 2;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a1128;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

.card .nombre {
  font-weight: 700;
  font-size: 1.15rem;
  transform: translateZ(26px);
}
.card .desc {
  color: var(--texto-suave);
  font-weight: 300;
  font-size: 0.92rem;
  flex: 1;
  transform: translateZ(16px);
}
.card .flecha {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fucsia);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateZ(20px);
}
.card .flecha .arr { transition: transform 0.25s; }
.card:hover .flecha .arr { transform: translateX(6px); }

/* tarjeta destacada: rayo de luz girando por el borde */
.card--destacada {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.12));
  border-color: rgba(168, 85, 247, 0.32);
}
.card--destacada .foto { height: 190px; }
.card--destacada::before {
  content: "";
  position: absolute;
  inset: -140%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 320deg,
    rgba(168, 85, 247, 0.9) 340deg,
    rgba(59, 130, 246, 0.9) 352deg,
    transparent 360deg);
  animation: haz 5.5s linear infinite;
  pointer-events: none;
}
@keyframes haz {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.card--destacada .badge {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  z-index: 2;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a1128;
  background: linear-gradient(90deg, var(--cian), var(--azul-brillo));
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.55);
}
@media (max-width: 680px) {
  .card--destacada { grid-column: span 1; }
}

/* ── 9. Proceso y clientes ────────────────────────────────────────── */

.pasos {
  list-style: none;
  counter-reset: paso;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.pasos li {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radio);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--borde);
  border-top: 2px solid rgba(168, 85, 247, 0.5);
}
.pasos li::before {
  counter-increment: paso;
  content: counter(paso);
  display: inline-block;
  width: 44px; height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradiente-marca);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  font-variant-numeric: tabular-nums;
}
.pasos h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.pasos p { color: var(--texto-suave); font-weight: 300; font-size: 0.92rem; }

.clientes {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.cliente {
  padding: 1.3rem 1.4rem;
  border-radius: var(--radio);
  border: 1px dashed rgba(165, 180, 252, 0.25);
  background: rgba(255, 255, 255, 0.02);
}
.cliente .rubro {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.cliente .detalle { color: var(--texto-suave); font-weight: 300; font-size: 0.86rem; }

/* ── 10. Preguntas frecuentes ─────────────────────────────────────── */

.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}
.faq details {
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq details[open] { border-color: rgba(168, 85, 247, 0.45); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--fucsia);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .respuesta {
  padding: 0 1.4rem 1.2rem;
  color: var(--texto-suave);
  font-weight: 300;
  font-size: 0.92rem;
}
.faq .respuesta a { color: var(--fucsia); text-decoration: underline; text-underline-offset: 3px; }

/* ── 11. Contacto ─────────────────────────────────────────────────── */

.contacto {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem clamp(1.2rem, 4vw, 3.5rem) 5.5rem;
}
.contacto .etiqueta { text-align: center; }
.contacto h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.contacto > p { color: var(--texto-suave); font-weight: 300; margin-bottom: 2.4rem; }
.contacto-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.contacto-datos {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: center;
  color: var(--texto-suave);
  font-size: 0.9rem;
  font-weight: 300;
}
.contacto-datos a { color: #c7d2fe; text-decoration: none; }
.contacto-datos a:hover { color: #fff; }
.contacto-datos span::before { content: "◆"; color: var(--fucsia); margin-right: 0.45rem; font-size: 0.55rem; vertical-align: 2px; }

/* ── 12. Footer ───────────────────────────────────────────────────── */

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--borde);
  padding: 2.6rem clamp(1.2rem, 4vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--texto-suave);
  font-size: 0.85rem;
  font-weight: 300;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.07));
}
footer .fm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--texto);
  font-weight: 600;
}
footer .fm svg { width: 22px; height: 22px; }
footer a { color: #c7d2fe; text-decoration: none; }
footer a:hover { color: #fff; }
footer .enlaces { display: flex; flex-wrap: wrap; gap: 1.2rem; }
footer .legal { width: 100%; text-align: center; color: rgba(165, 180, 252, 0.55); font-size: 0.78rem; margin-top: 0.6rem; }

/* ── 13. Scroll reveal 3D ─────────────────────────────────────────── */

.revelar {
  opacity: 0;
  transform: perspective(900px) rotateX(14deg) translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.revelar.visible { opacity: 1; transform: perspective(900px) rotateX(0deg) translateY(0); }

/* ── 14. Responsive ───────────────────────────────────────────────── */

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { min-height: 92vh; }
}

@media (max-width: 680px) {
  nav { padding: 0.9rem 1.1rem; }
  .hero { padding: 5rem 1.2rem 3.5rem; }
  .wordmark { font-size: clamp(2.8rem, 16vw, 4rem); }
  .confianza { gap: 0.5rem 1rem; }
  .card .foto { height: 132px; }
  .card--destacada .foto { height: 150px; }
  .contacto-acciones .cta, .contacto-acciones .cta-wa { width: 100%; }
}

/* ── 15. Movimiento reducido ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora, .logo-iso, .logo-iso .giro, .logo-iso::after, .wordmark .inner, .scroll-pista::after,
  .card--destacada::before, .grid-fondo, .divisor i, .esfera-fondo, .barrido-luz { animation: none; }
  .revelar { opacity: 1; transform: none; transition: none; }
  .tagline, .sub, .hero-ctas, .scroll-pista, .confianza { animation: none; }
  .card, .servicio, .cta, .cta-wa, .cta-ghost, .nav-cta { transform: none !important; }
}

/* ── 16. Marca VerticeLABS ────────────────────────────────────────── */

/* LABS en el wordmark del hero: en mayúsculas, elevado, gradiente estático */
.wordmark .labs {
  display: inline-block;
  margin-left: 0.14em;
  font-size: 0.26em;
  font-weight: 800;
  letter-spacing: 0.3em;
  vertical-align: super;
  background: linear-gradient(90deg, #eef2ff, #c7d2fe 45%, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(124, 58, 237, 0.45));
  animation: entrar-sub 0.8s ease 0.5s both;
}

/* LABS en nav y footer: compacto */
.marca-labs {
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  background: linear-gradient(90deg, #c7d2fe, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 17. Efectos premium (fintech) ────────────────────────────────── */

/* barra de progreso de scroll */
.progreso {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  z-index: 30;
  background: linear-gradient(90deg, var(--azul), var(--violeta), var(--fucsia));
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.8);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* textura de grano fílmico (SVG noise, sin archivos) */
.grano {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* brillo que sigue al cursor (solo escritorio, muy sutil) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14), rgba(59, 130, 246, 0.07) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

/* divisor entre hero y contenido: hilo de gradiente con destello viajero */
.divisor {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  height: 1px;
  overflow: visible;
  background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.35) 25%, rgba(168, 85, 247, 0.55) 50%, rgba(165, 180, 252, 0.35) 75%, transparent);
}
.divisor i {
  position: absolute;
  top: -1px;
  left: 0;
  width: 90px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--fucsia), var(--cian), transparent);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.9);
  animation: destello 5s ease-in-out infinite;
}
@keyframes destello {
  0% { left: -90px; opacity: 0; }
  15% { opacity: 1; }
  50% { left: calc(50% - 45px); opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% + 90px); opacity: 0; }
}

/* palabras del hero: entrada escalonada */
.sub .palabra {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  animation: entrar-palabra 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes entrar-palabra {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ── 18. Responsive extra ─────────────────────────────────────────── */

@media (max-width: 680px) {
  .wordmark .labs { font-size: 0.3em; letter-spacing: 0.22em; }
  .cursor-glow { display: none; }
}

/* brillo barrido en botones (sheen) */
.cta, .cta-wa, .cta-ghost, .nav-cta {
  position: relative;
  overflow: hidden;
}
.cta::after, .cta-wa::after, .cta-ghost::after, .nav-cta::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.cta:hover::after, .cta-wa:hover::after, .cta-ghost:hover::after, .nav-cta:hover::after {
  left: 140%;
}

/* barrido de luz en tarjetas comunes (la destacada usa su haz giratorio) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.08) 46%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.85s ease;
}
.card:hover::before { transform: translateX(130%); }
