/* ==========================================================================
   RS MALHATEX — BASE DESIGN TOKENS & SYSTEM
   ========================================================================== */
:root {
  /* Brand Core Colors */
  --color-yellow: #FED903;
  --color-yellow-hover: #e6c400;
  --color-yellow-light: rgba(254, 217, 3, 0.12);
  --color-yellow-glow: rgba(254, 217, 3, 0.3);

  --color-black: #000000;
  --color-charcoal: #1D1D1B;
  --color-surface-dark: #121211;
  --color-surface-card: #1c1c1a;
  --color-surface-card-hover: #262623;
  --color-border-subtle: #2e2e2a;
  --color-border-stitch: #45453f;

  --color-white: #FFFFFF;
  --color-gray-100: #F3F4F6;
  --color-gray-300: #C7CBD1;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-erro: #EF4444;
  --color-success: #10B981;

  /* Typography */
  --font-primary: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Spacing & Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-secondary);
  background-color: var(--color-black);
  color: var(--color-gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 8px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 3px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

/* Base button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-primary:hover {
  background: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-yellow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-border-subtle);
}

.btn-outline:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
