/* ==========================================================================
   CompuMovil - Estilos (modo oscuro moderno)
   ========================================================================== */

:root {
  --bg: #0d1117;
  --bg-alt: #161b22;
  --surface: #1c2129;
  --border: #2a303c;
  --text: #e6edf3;
  --text-muted: #9aa4b2;
  --primary: #4f8cff;
  --primary-hover: #6fa1ff;
  --accent: #22d3a5;
  --cyan: #00e5ff;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5b;
  --radius: 10px;
  --transition: 0.25s ease;
  --max-width: 1100px;
  --font-heading: "Orbitron", "Segoe UI", sans-serif;
  --font-body: "Geist", "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Títulos: tipografía técnica con un ligero brillo neón */
h1,
h2,
h3,
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow:
    0 0 6px rgba(79, 140, 255, 0.55),
    0 0 18px rgba(34, 211, 165, 0.25);
}

p,
li,
label,
input,
textarea,
button,
.btn {
  font-family: var(--font-body);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 40px;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: none;
  background: transparent;
  border: none;
}

.logo__text {
  display: inline-block;
  background: transparent;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
  background: transparent;
  border: none;
}

.logo__compu,
.logo__movil {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.logo__compu {
  color: #f0f4f8;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.6),
    0 1px 1px rgba(0, 0, 0, 0.35);
  animation: silverShine 3.4s ease-in-out infinite alternate;
  transition: filter 0.3s ease;
}

.logo__movil {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  animation: neonPulse 3.2s ease-in-out infinite alternate;
  transition: filter 0.3s ease;
}

@keyframes silverShine {
  0% {
    text-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.45),
      0 1px 1px rgba(0, 0, 0, 0.35);
  }
  100% {
    text-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.9),
      0 1px 2px rgba(0, 0, 0, 0.25);
  }
}

@keyframes neonPulse {
  0% {
    text-shadow:
      0 0 6px rgba(0, 229, 255, 0.45),
      0 0 12px rgba(0, 229, 255, 0.25);
  }
  100% {
    text-shadow:
      0 0 12px rgba(0, 229, 255, 0.85),
      0 0 22px rgba(0, 229, 255, 0.45);
  }
}

.logo:hover .logo__compu {
  filter: brightness(1.2);
}

.logo:hover .logo__movil {
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.7));
}

@media (prefers-reduced-motion: reduce) {
  .logo__compu,
  .logo__movil {
    animation: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #cbd5e1;
  position: relative;
  padding: 8px 12px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8), 0 0 20px rgba(0, 229, 255, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff;
  transition: width 0.25s ease, left 0.25s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  text-align: center;
  isolation: isolate;
  background: radial-gradient(circle at 50% 0%, var(--bg-alt), var(--bg));
}

/* Contenedor del video de fondo, a pantalla completa, continuo y en bucle */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, var(--bg-alt), var(--bg));
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__media.is-ready .hero__video {
  opacity: 1;
}

/* Capa oscura para que el texto resalte sobre el video, con degradado
   radial más oscuro al centro para dar contraste al bloque de texto */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 15, 24, 0.75) 0%, rgba(10, 15, 24, 0.92) 100%);
}

/* Vista previa elegante mientras el video carga o si no está disponible */
.hero__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(circle at 50% 30%, var(--bg-alt), var(--bg));
  opacity: 1;
  transition: opacity 0.6s ease;
}

.hero__media.is-ready .hero__fallback {
  opacity: 0;
  pointer-events: none;
}

.hero__spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: hero-spin 0.9s linear infinite;
}

.hero__media.has-error .hero__spinner {
  display: none;
}

.hero__fallback-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

@keyframes hero-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.hero-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  margin: 0 auto 20px auto !important;
  position: static !important;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  position: relative;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  cursor: default;
  font-size: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0 !important;
  text-shadow:
    0 0 5px rgba(0, 229, 255, 0.8),
    0 0 15px rgba(0, 229, 255, 0.5),
    0 0 30px rgba(0, 229, 255, 0.3);
  animation: neonIgnition 2.2s ease-in-out forwards;
}

.hero-title:hover {
  text-shadow: -2px 0 #ff0055, 2px 0 #00e5ff, 0 0 20px rgba(0, 229, 255, 0.8);
  transform: skewX(-1.5deg);
  transition: transform 0.15s ease, text-shadow 0.15s ease;
}

@keyframes neonIgnition {
  0% {
    opacity: 0.2;
    text-shadow: none;
  }
  8% {
    opacity: 1;
    text-shadow: 0 0 10px #00e5ff, 0 0 25px #00e5ff;
  }
  12% {
    opacity: 0.3;
    text-shadow: none;
  }
  20% {
    opacity: 1;
    text-shadow: 0 0 12px #00e5ff, 0 0 30px #00e5ff;
  }
  25% {
    opacity: 0.4;
    text-shadow: none;
  }
  35% {
    opacity: 1;
    text-shadow: 0 0 15px #00e5ff, 0 0 35px #00e5ff;
  }
  70% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.7), 0 0 25px rgba(0, 229, 255, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title {
    animation: none;
  }
}

.hero-subtitle {
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.15rem);
  margin-bottom: 1rem;
}

.hero-desc {
  color: #a0aec0;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.6;
  text-transform: none;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero .btn {
  position: relative;
  z-index: 1;
}

.btn--hero-primary,
.btn--hero-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.btn--hero-primary {
  background-color: var(--cyan);
  color: #04121a;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.btn--hero-primary:hover {
  background-color: #33ecff;
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.8);
  transform: translateY(-2px);
}

.btn--hero-secondary {
  background-color: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.5);
}

.btn--hero-secondary:hover {
  background-color: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition), transform var(--transition);
}

.btn--primary {
  background-color: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

/* Servicios: video de despiece de la laptop (pc_despiece.mp4) como fondo
   continuo a pantalla completa (autoplay, loop, muted), igual que el Hero;
   las tarjetas de servicios quedan sobrepuestas con su efecto de cristal
   esmerilado. */
.servicios {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 20px;
  background: radial-gradient(circle at 50% 0%, var(--bg-alt), var(--bg));
}

.servicios__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, var(--bg-alt), var(--bg));
}

.servicios__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.servicios__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 23, 0.5) 0%,
    rgba(13, 17, 23, 0.28) 45%,
    rgba(13, 17, 23, 0.55) 100%
  );
}

.servicios .container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

.servicios .section-title {
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.logo-3d-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  background: transparent;
  border: none;
  margin: 0 auto 30px auto;
}

.logo-3d-spin {
  width: 100%;
  max-width: 220px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
  animation: spin3D 8s linear infinite;
}

@keyframes spin3D {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    var(--surface);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(34, 211, 165, 0.3);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  box-shadow:
    0 0 0 1px rgba(79, 140, 255, 0.12) inset,
    0 0 24px rgba(34, 211, 165, 0.14),
    0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

/* Borde luminoso animado que aparece al pasar el ratón */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  border-color: transparent;
  box-shadow:
    0 0 20px 1px rgba(79, 140, 255, 0.35),
    0 0 36px 4px rgba(34, 211, 165, 0.25),
    0 0 18px 2px rgba(0, 229, 255, 0.4),
    0 16px 32px rgba(0, 0, 0, 0.35);
}

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

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.15), rgba(34, 211, 165, 0.15));
  color: var(--primary);
  transition: transform var(--transition), color var(--transition);
}

.card:hover .card__icon {
  transform: scale(1.08) rotate(-4deg);
  color: var(--accent);
}

.card__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34, 211, 165, 0.12);
  border: 1px solid rgba(34, 211, 165, 0.3);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.card ul {
  flex-grow: 1;
}

.card ul li {
  padding: 0.18rem 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.card ul li:last-child {
  border-bottom: none;
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding: 0.55rem 1.1rem;
  background-color: var(--whatsapp);
  color: #fff;
  font-size: 0.85rem;
}

.btn--whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn--whatsapp svg {
  flex-shrink: 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: -2rem auto 3rem;
}

/* Protocolo de Diagnóstico y Reparación */
.section-proceso {
  padding: 80px 0;
  background: #060910;
  position: relative;
  z-index: 2;
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 620px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
  margin-top: 50px;
}

.proceso-step {
  background: rgba(11, 17, 29, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.proceso-step:hover {
  transform: translateY(-6px);
  border-color: #00e5ff;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(0, 229, 255, 0.35);
  margin-bottom: 12px;
  line-height: 1;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.proceso-step:hover .step-num {
  color: #00e5ff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.step-node {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff, 0 0 16px rgba(0, 229, 255, 0.5);
}

.step-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  color: #f1f5f9;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.step-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Trabajos Recientes */
.trabajos {
  position: relative;
  overflow: hidden;
  background: #070b12;
}

.trabajos .container {
  position: relative;
  z-index: 2;
}

/* Fondo de circuito PCB animado */
.circuit-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.circuit-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circuit-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(7, 11, 18, 0.85) 80%, #070b12 100%);
}

.pulse-path {
  stroke-dasharray: 80 400;
  stroke-dashoffset: 480;
  animation: circuitFlow 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pulse-2 {
  animation-delay: 1.5s;
}

.pulse-3 {
  animation-delay: 3s;
}

.pulse-4 {
  animation-delay: 4.5s;
}

@keyframes circuitFlow {
  0% {
    stroke-dashoffset: 480;
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    stroke-dashoffset: -480;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-path {
    animation: none;
    opacity: 0.3;
  }
}

.trabajos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trabajo-card {
  display: flex;
  flex-direction: column;
  background-color: #0b0f19;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.trabajo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 229, 255, 0.18);
}

.trabajo-img-wrapper {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.trabajo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trabajo-card:hover .trabajo-img {
  transform: scale(1.05);
}

.trabajo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 15, 24, 0.85);
  border: 1px solid #00e5ff;
  color: #00e5ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.trabajo-info {
  padding: 20px;
  text-align: left;
}

.trabajo-titulo {
  color: #f0f4f8;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trabajo-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.trabajo-meta {
  color: #00e5ff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.trabajo-link {
  color: #00e5ff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform var(--transition), color var(--transition);
}

.trabajo-link:hover {
  color: #33ecff;
  transform: translateX(4px);
}

/* Preguntas Frecuentes */
.section-faq {
  padding: 80px 0;
  background: #060910;
  position: relative;
  z-index: 2;
}

.faq-accordion {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(11, 17, 29, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.active {
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.12);
}

.faq-trigger {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  color: #f1f5f9;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: #00e5ff;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: #00e5ff;
  transition: transform 0.3s ease;
}

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

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 22px;
  background: rgba(6, 9, 16, 0.5);
}

.faq-item.active .faq-panel {
  max-height: 200px;
  padding: 12px 22px 20px 22px;
}

.faq-panel p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Garantías y Credenciales Técnicas */
.section-garantias {
  padding: 35px 0;
  background: #05070d;
  position: relative;
  z-index: 2;
}

.garantias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.garantia-chip {
  background: rgba(10, 16, 28, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.garantia-chip:hover {
  transform: translateY(-3px);
  border-color: #00e5ff;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.12);
}

.chip-status {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 6px #00e5ff;
}

.chip-icon {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.4));
}

.chip-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  color: #f1f5f9;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.chip-desc {
  font-size: 0.78rem;
  color: #8da2b5;
  line-height: 1.45;
  margin: 0;
}

/* Contacto y Registro de Prospectos */
.contacto {
  position: relative;
  overflow: hidden;
  background-color: #060910;
  background-image:
    /* Resplandor focal detrás de las tarjetas */
    radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 65%),
    /* Cuadrícula técnica suave (líneas verticales y horizontales de 30px x 30px) */
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
  background-position: center center, 0 0, 0 0;
}

.contacto .container {
  position: relative;
  z-index: 2;
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contacto__subtitle {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.contacto__subtitle--cyan {
  color: var(--cyan);
  text-shadow:
    0 0 8px rgba(0, 229, 255, 0.6),
    0 0 20px rgba(0, 229, 255, 0.3);
}

.contacto__card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 229, 255, 0.03);
}

.contacto__card-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contacto__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}

.contacto__card-row h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.contacto__card-row p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contacto__whatsapp-link {
  color: var(--whatsapp);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contacto__whatsapp-link:hover {
  color: var(--whatsapp-hover);
  text-decoration: underline;
}

.contacto__map {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 229, 255, 0.03);
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

.contacto__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 229, 255, 0.03);
}

.form label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form input,
.form select,
.form textarea {
  background-color: #0a0f18;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form select {
  cursor: pointer;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.form button {
  margin-top: 1.5rem;
  align-self: flex-start;
}

.btn--neon {
  background-color: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--neon:hover:not(:disabled) {
  background-color: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.7);
  transform: translateY(-2px);
}

.btn--neon:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  min-height: 1.2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback--success {
  color: #39ff8f;
  text-shadow: 0 0 8px rgba(57, 255, 143, 0.6);
}

.form-feedback--error {
  color: #ff3b5c;
  text-shadow: 0 0 8px rgba(255, 59, 92, 0.6);
}

/* Divisores de sección estilo pista de circuito (PCB) */
.circuit-divider {
  width: 100%;
  height: 24px;
  position: relative;
  z-index: 10;
  margin: -12px 0;
  overflow: hidden;
  pointer-events: none;
}

.divider-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.divider-base {
  fill: none;
  stroke: rgba(0, 229, 255, 0.18);
  stroke-width: 1.5px;
}

.divider-node {
  fill: rgba(0, 229, 255, 0.4);
  stroke: #00e5ff;
  stroke-width: 1px;
}

.divider-pulse {
  fill: none;
  stroke: #00e5ff;
  stroke-width: 2px;
  filter: drop-shadow(0 0 6px #00e5ff);
  stroke-dasharray: 120 1200;
  stroke-dashoffset: 1320;
  animation: laserDivider 5s linear infinite;
}

.circuit-divider:nth-of-type(1) .divider-pulse { animation-delay: 0s; }
.circuit-divider:nth-of-type(2) .divider-pulse { animation-delay: 1.2s; }
.circuit-divider:nth-of-type(3) .divider-pulse { animation-delay: 2.4s; }
.circuit-divider:nth-of-type(4) .divider-pulse { animation-delay: 3.6s; }
.circuit-divider:nth-of-type(5) .divider-pulse { animation-delay: 4.8s; }
.circuit-divider:nth-of-type(6) .divider-pulse { animation-delay: 6.0s; }

@keyframes laserDivider {
  0% {
    stroke-dashoffset: 1320;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -120;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .divider-pulse {
    animation: none;
    opacity: 0;
  }
}

/* Botón de scroll-to-top */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: rgba(6, 9, 16, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 8px;
  color: #00e5ff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
  backdrop-filter: blur(6px);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: #00e5ff;
  color: #060910;
  box-shadow: 0 0 15px #00e5ff;
  transform: translateY(-3px);
}

/* Botón flotante de WhatsApp estilo HUD */
.hud-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #00e5ff;
}

.hud-core {
  width: 54px;
  height: 54px;
  background: rgba(6, 9, 16, 0.9);
  border: 1.5px solid #00e5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), inset 0 0 10px rgba(0, 229, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hud-ring {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(0, 229, 255, 0.6);
  border-radius: 50%;
  animation: hudPulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes hudPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.hud-whatsapp-btn:hover .hud-core {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.8), inset 0 0 15px rgba(0, 229, 255, 0.4);
  color: #ffffff;
  border-color: #ffffff;
}

.hud-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(10, 15, 26, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #00e5ff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  pointer-events: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .hud-ring {
    animation: none;
    opacity: 0;
  }
}

/* Footer */
.footer {
  background-color: #050811;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 50px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 40px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer__logo-img {
  height: 36px;
  width: auto;
}

.footer__logo-text {
  display: inline-block;
}

.footer__tagline {
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.footer__desc {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer__title {
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.footer__links,
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a,
.footer__info a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__info a:hover {
  color: var(--cyan);
}

.footer__bottom {
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 -1px 12px rgba(0, 229, 255, 0.08);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 24px 20px;
  font-size: 0.85rem;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.footer__top-link:hover {
  background-color: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .trabajos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__list a {
    display: block;
    padding: 1rem 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav__toggle {
    display: flex;
  }

  .trabajos-grid {
    grid-template-columns: 1fr;
  }

  .contacto__grid {
    grid-template-columns: 1fr;
  }

  .section-subtitle {
    margin-top: -1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    justify-content: center;
    margin: 0 auto 1rem;
  }

  .footer__desc {
    max-width: none;
    margin: 0 auto;
  }

  .footer__links,
  .footer__info {
    align-items: center;
  }

  .footer__bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--hero-primary,
  .btn--hero-secondary {
    text-align: center;
  }

  .hero-trust {
    gap: 8px;
  }

  .hero-trust__item {
    font-size: 0.78rem;
    padding: 5px 10px;
  }
}
