/* ===== TECKIO ERP — Design Tokens + Reset + Base ===== */

:root {
  /* Colors */
  --navy: #142A47;
  --navy-soft: #1E3A5F;
  --navy-mid: #29476A;
  --navy-deep: #0D1C30;
  --paper: #FAF8F3;
  --bone: #F1EDE3;
  --bone-dark: #E6E0D2;
  --orange: #D97706;
  --orange-light: #F59E0B;
  --orange-bright: #F0A23A;
  --text: #142A47;
  --text-soft: #5A6577;
  --text-muted: #8A9099;
  --line: rgba(20, 42, 71, 0.12);
  --line-strong: rgba(20, 42, 71, 0.24);

  /* Typography */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset universal */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--sans);
  background: transparent;
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Stacking context base */
main, footer, section, .nav { position: relative; z-index: 1; }

/* Blueprint grid background */
.blueprint-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #E8E3D8;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Botones base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
}
.btn-primary { background: var(--orange); color: var(--paper); }
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.32);
}

.btn-secondary {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-secondary:hover {
  background: var(--orange);
  color: var(--paper);
  border-color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.32);
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
}
