/* Tokens, reset y estilos base compartidos por todo el sitio */

:root {
  --bg-0: #0d0f12;
  --bg-1: #1a1d21;
  --bg-2: #2a2e33;
  --blue: #3b82f6;
  --blue-deep: #1e3a8a;
  --ink: #f2f4f6;
  --ink-soft: #a0a5ac;
  --line: rgba(255, 255, 255, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --font-display: "Inter", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --shadow-soft: 0 12px 30px -14px rgba(22, 50, 56, 0.28);
  --shadow-lift: 0 20px 45px -18px rgba(22, 50, 56, 0.35);
  --header-h: 76px;
  --topbar-h: 20px;

  --container-w: 1600px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Scrollbar personalizada, sin flechas, mimetizada con el fondo */

::-webkit-scrollbar {
  width: 5px;
  height: 10px;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-2);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--line);
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0 0 0.8em;
  line-height: 1.65;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic-sm {
  width: 18px;
  height: 18px;
}

.ic-md {
  width: 24px;
  height: 24px;
}

.ic-lg {
  width: 32px;
  height: 32px;
}

.rot180 {
  transform: rotate(180deg);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  width: 100%;
  padding-block: 5rem;
}
