/**
 * ====================================================================
 * LYRAN × SLUSH - Estilos Base & Configuración Fontsource Variable
 * Plus Jakarta Sans Variable (UI/Cuerpo) + Space Grotesk Variable (Display)
 * ====================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* --- @fontsource-variable/plus-jakarta-sans (Pesos Variables 200-800) --- */
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./files/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./files/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --- @fontsource-variable/space-grotesk (Pesos Variables 300-700) --- */
@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(./files/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(./files/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --- RESET & BOX SIZING --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-height) + 1.5rem);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--color-paper-white);
  color: var(--color-carbon);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-feature-settings: "ss01" on, "tnum" on;
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-carbon);
  letter-spacing: -0.03em;
  line-height: 0.92;
  overflow-wrap: break-word;
}

h1 {
  font-family: var(--font-lateral);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 0.80;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-lateral);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.15;
}

p {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-carbon);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- SELECCIÓN Y SCROLLBAR ESTILO SLUSH --- */
::selection {
  background: var(--color-sunburst);
  color: var(--color-carbon);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-sky-wash);
  border-left: 1px solid var(--color-carbon);
}

::-webkit-scrollbar-thumb {
  background: var(--color-electric-blue);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-carbon);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-voltage-violet);
}

/* --- CLASES UTILITARIAS SLUSH --- */
/* Píldora resaltada en titulares estilo sticker */
.slush-highlight-pill {
  display: inline-block;
  background: var(--color-sunburst);
  color: var(--color-carbon);
  border: 2px solid var(--color-carbon);
  border-radius: 24px;
  padding: 0.08em 0.26em 0.1em;
  margin-top: 6px;
  transform: rotate(-1.5deg);
  line-height: 0.95;
}

.text-muted { color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: var(--z-content);
}

.section {
  padding: var(--space-20) 0;
  position: relative;
}

/* Bandas de Sección estilo Poster de Slush */
.slush-band-sky {
  background-color: var(--color-sky-wash) !important;
}
.slush-band-white {
  background-color: var(--color-paper-white) !important;
}
.slush-band-gray {
  background-color: var(--color-soft-mist) !important;
}
.slush-band-lavender {
  background-color: var(--color-lavender) !important;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  .section {
    padding: var(--space-12) 0;
  }
}
