/* VEKTRA · sitio público. Los estilos de cada bloque van en línea (así se diseñó);
   aquí solo viven la base, las animaciones y los controles que cambian de estado. */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f3f3f1;
  color: #0b0c0e;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #0b0c0e;
  text-decoration: none;
}
a:hover {
  color: #2563eb;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
}

@keyframes vk-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes vk-dot {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}
@keyframes vk-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
  }
}

/* Selector de rubro del héroe */
.rb {
  border: 0;
  cursor: pointer;
  font:
    500 13px Inter,
    sans-serif;
  padding: 8px 15px;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
}
.rb.on {
  background: #ffffff;
  color: #0b0c0e;
}

/* Selector de tema del explorador */
.tm {
  border: 0;
  cursor: pointer;
  font:
    500 13px Inter,
    sans-serif;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: #3a3d42;
}
.tm.on[data-tema='claro'] {
  background: #ffffff;
  color: #0b0c0e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.tm.on[data-tema='oscuro'] {
  background: #0b0c0e;
  color: #ffffff;
}

/* Pestañas del explorador */
.pt {
  border: 1px solid #d6d6d2;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  font:
    500 15px Inter,
    sans-serif;
  padding: 11px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #3a3d42;
}
.pt .n {
  font:
    500 11.5px 'JetBrains Mono',
    monospace;
  color: #8a8e95;
}
.pt:hover {
  border-color: #0b0c0e;
  color: #0b0c0e;
}
.pt.on {
  border-color: #0b0c0e;
  background: #0b0c0e;
  color: #ffffff;
}
.pt.on .n {
  color: #93b4ff;
}

/* Preguntas frecuentes */
.fq {
  border-bottom: 1px solid #dcdcd8;
}
.fq button {
  all: unset;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 1.8vw, 23px);
  letter-spacing: -0.015em;
}
.fq button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.fq .mas {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #2563eb;
}
.fq p {
  margin: 0;
  padding: 0 0 22px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4e55;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  header nav {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Canales: íconos 3D con flote suave */
.canal-fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.canal-izq {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.canal-titulo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.canal-texto {
  margin: 0;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.55;
  color: #4a4e55;
  text-wrap: pretty;
}
.canales {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
}
.canales .canal {
  flex: 0 0 32%;
}
.canal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #4a4e55;
}
.canal img {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 22px 22px rgba(10, 11, 13, 0.18));
  animation: canal-flota 5s ease-in-out infinite;
  animation-delay: var(--d);
  transition: transform 0.35s ease;
}
.canal:hover img {
  transform: rotate(-5deg) scale(1.06);
}
@keyframes canal-flota {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@media (max-width: 900px) {
  .canal-fila {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .canal img {
    animation: none;
  }
}
