﻿/* Estilos generales que comparte toda la página */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--fondo-01);
  color: var(--blanco);
}

body {
  font: 400 17px/1.6 var(--f-cuerpo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--f-titulo);
  margin: 0;
  text-wrap: balance;
}

/* Etiquetas tipo sistema: PRIME SYSTEM // ONLINE */
.sistema {
  font-family: var(--f-dato);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

/*
  Logos de plataformas (assets/logos, de Simple Icons).
  Se dibujan con el color del texto, así combinan con la paleta:
  <i class="logo" style="--logo: url(/assets/logos/amazon.svg)" role="img" aria-label="Amazon"></i>
*/
.logo {
  display: inline-block;
  flex-shrink: 0;
  width: var(--tam, 20px);
  height: var(--tam, 20px);
  background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}

/* Herramientas sin logo disponible: su nombre en una etiqueta */
.logo-texto {
  display: inline-flex;
  align-items: center;
  height: var(--tam, 20px);
  padding: 0 7px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font: 700 10px/1 var(--f-dato);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Fila de logos pequeños */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Texto que no se ve pero sí leen los lectores de pantalla */
.solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Botón principal */
.boton {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border: 0;
  border-radius: var(--radio);
  background: var(--cyan);
  color: #021018;
  font: 700 14px/1 var(--f-dato);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.boton:hover,
.boton:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.28);
}

.boton:focus-visible {
  outline: 2px solid var(--blanco);
  outline-offset: 4px;
}

/* Botón de segundo nivel: solo borde */
.boton--secundario {
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
}

/* Quien pide menos movimiento en su sistema ve todo quieto */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
