/* ==== CSS Variables ==== */
:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-surface: #121212;
  --color-primary: #8B5CF6;
  /* violet */
  --color-accent: #22D3EE;
  /* cyan */
  --color-gold: #D19900;
  /* gold/ámbar para Garantía Profesional */
  --color-text: #e0e0e0;
  --color-muted: #777777;

  /* Typography */
  --font-family-sans: 'Poppins', sans-serif;
  --font-family-heading: 'Anton', sans-serif;

  /* Spacing */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 36px;
  --space-xl: 48px;
  --space-xxl: 64px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family-sans);
  line-height: 1.6;
}

/* ==== Base ==== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==== Utility Classes ==== */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: var(--space-xxs);
}

.mb-0 {
  margin-bottom: var(--space-xxs);
}

mt-1 {
  margin-top: var(--space-xs);
}

mb-1 {
  margin-bottom: var(--space-xs);
}

/* Add more utility classes as needed */

/* ==== Layout ==== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

/* ==== Buttons ==== */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: #7c3aed;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ==== Cards ==== */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* ==== Forms ==== */
input,
textarea,
select {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-family-sans);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ==== Scrollbar ==== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
}

/* ==== Accessible Nav ==== */
.accessible-nav {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  z-index: 999;
}

.accessible-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.accessible-nav a {
  color: #fff;
  text-decoration: none;
}

.accessible-nav.visible {
  display: block;
}

/* ==== Global body override ==== */
body {
  margin: 0;
  overflow: hidden;
}