/* ── Self-hosted fonts ──────────────────────────────────── */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ──────────────────────────────────────── */
:root {
  /* Fondos oscuros — hero, navbar, footer, CTA final */
  --color-dark:        #0D0F12;
  --color-dark-2:      #13161B;
  --color-dark-border: rgba(255, 255, 255, 0.08);
  --color-dark-text:   #ECEEF2;
  --color-dark-muted:  #6B7480;

  /* Fondos claros — secciones de contenido */
  --color-light:       #FFFFFF;
  --color-light-2:     #F7F8FA;
  --color-light-3:     #F0F2F5;
  --color-border:      #E4E7EC;
  --color-text:        #0D0F12;
  --color-muted:       #6B7280;

  /* Acento único — naranja */
  --color-accent:      #FF5C00;
  --color-accent-h:    #E04F00;
  --color-accent-g:    rgba(255, 92, 0, 0.09);

  /* Tipografías */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Espaciados */
  --space-section:  88px;
  --space-content:  56px;

  /* Bordes */
  --radius-card:  14px;
  --radius-btn:    7px;

  /* Sombras */
  --shadow-card: 0 12px 32px rgba(255, 92, 0, 0.07);

  /* Transiciones */
  --transition-base: 0.2s ease;
}

/* ── Reset base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--color-light);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}
