/* ============================================================
   VLAK CONSULTORES — Colors & Type foundations
   "Trazamos tu futuro urbano"
   Use the EXACT hex values from the brand guide. Do not
   eyeball colors — apégate a los códigos técnicos.
   ============================================================ */

/* ---------- Fonts ---------- */
/* Display wordmark — used for the VLAK logotype & hero numerals */
@font-face {
  font-family: "Neue Power";
  src: url("fonts/NeuePower-Ultra.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Headings — Changa: geometric, technical, confident */
@font-face { font-family: "Changa"; src: url("fonts/Changa-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Changa"; src: url("fonts/Changa-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Changa"; src: url("fonts/Changa-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Changa"; src: url("fonts/Changa-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Changa"; src: url("fonts/Changa-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Changa"; src: url("fonts/Changa-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

/* Body — Geologica: humanist grotesque, optimized for reading */
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("fonts/Geologica-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* ============================================================
     COLOR — RAW BRAND TOKENS (exact values from the guide)
     ============================================================ */
  --vlak-orange-021:  #E6431B; /* Pantone Orange 021 C — primary, vivid red-orange */
  --vlak-orange-1645: #FE5000; /* Pantone 1645 C — primary, pure signal orange */
  --vlak-amber-151:   #FB8B1F; /* Pantone 151 C — secondary accent, warm amber */
  --vlak-black:       #000000; /* Pantone Black C 100% */
  --vlak-gray-50:     #9D9D9C; /* Pantone Black C 50% — mid gray */
  --vlak-teal-7477:   #27464B; /* Pantone 7477 C — deep slate teal */
  --vlak-gray-420:    #C7C9C7; /* Pantone 420 C — light warm gray */
  --vlak-white:       #FFFFFF;

  /* Tints / supporting steps (derived in-family for UI surfaces) */
  --vlak-orange-wash: #FFF1EC; /* faint orange surface */
  --vlak-amber-wash:  #FFF6EA;
  --vlak-teal-deep:   #1B3236; /* darker teal for backgrounds */
  --vlak-teal-wash:   #EAF0F0;
  --vlak-gray-100:    #F4F5F4;
  --vlak-gray-200:    #E6E7E6;
  --vlak-gray-300:    #D2D4D2;
  --vlak-gray-600:    #6E706E;
  --vlak-gray-800:    #3A3B3A;

  /* ============================================================
     COLOR — SEMANTIC TOKENS
     ============================================================ */
  --color-brand:        var(--vlak-orange-1645);
  --color-brand-strong: var(--vlak-orange-021);
  --color-brand-accent: var(--vlak-amber-151);
  --color-ink:          var(--vlak-teal-7477); /* primary text — teal, not pure black, for warmth */
  --color-ink-strong:   var(--vlak-black);
  --color-fg-1:         var(--vlak-teal-7477);
  --color-fg-2:         var(--vlak-gray-600);
  --color-fg-3:         var(--vlak-gray-50);
  --color-on-brand:     var(--vlak-white);

  --color-bg:           var(--vlak-white);
  --color-bg-subtle:    var(--vlak-gray-100);
  --color-bg-muted:     var(--vlak-gray-200);
  --color-bg-ink:       var(--vlak-teal-7477);
  --color-bg-ink-deep:  var(--vlak-teal-deep);

  --color-border:       var(--vlak-gray-300);
  --color-border-strong:var(--vlak-gray-50);
  --color-divider:      var(--vlak-gray-420);

  --color-focus:        var(--vlak-orange-1645);

  /* ============================================================
     TYPE — FAMILIES
     ============================================================ */
  --font-display: "Neue Power", "Changa", system-ui, sans-serif; /* logotype / hero */
  --font-head:    "Changa", system-ui, sans-serif;               /* headings */
  --font-body:    "Geologica", system-ui, sans-serif;            /* body & UI */

  /* ============================================================
     TYPE — SCALE (1.250 major-third-ish, clamped)
     ============================================================ */
  --fs-display: clamp(48px, 7vw, 96px);
  --fs-h1: clamp(36px, 4.5vw, 60px);
  --fs-h2: clamp(28px, 3vw, 42px);
  --fs-h3: 28px;
  --fs-h4: 22px;
  --fs-lead: 20px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-caption: 13px;
  --fs-overline: 12px;

  --lh-tight: 1.02;
  --lh-head: 1.12;
  --lh-snug: 1.35;
  --lh-body: 1.6;

  --ls-display: -0.02em;
  --ls-head: -0.01em;
  --ls-overline: 0.18em; /* wide tracking for ALL-CAPS labels (brand signature) */

  /* ============================================================
     SPACING / RADIUS / SHADOW (see preview cards)
     ============================================================ */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(39,70,75,0.08), 0 1px 1px rgba(39,70,75,0.04);
  --shadow-md: 0 6px 18px rgba(39,70,75,0.10);
  --shadow-lg: 0 18px 44px rgba(39,70,75,0.16);
  --shadow-brand: 0 10px 28px rgba(230,67,27,0.28);
}

/* ============================================================
   SEMANTIC ELEMENT DEFAULTS (opt-in via .vlak-type scope)
   ============================================================ */
.vlak-type { color: var(--color-fg-1); font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); }
.vlak-type h1, .vlak-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0;
}
.vlak-type h2 { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h1); line-height: var(--lh-head); letter-spacing: var(--ls-head); color: var(--color-ink); margin: 0 0 .4em; }
.vlak-type h3 { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h2); line-height: var(--lh-head); color: var(--color-ink); margin: 0 0 .4em; }
.vlak-type h4 { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h4); line-height: var(--lh-snug); color: var(--color-ink); margin: 0 0 .4em; }
.vlak-type p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.vlak-type .lead { font-size: var(--fs-lead); line-height: var(--lh-snug); color: var(--color-fg-1); }
.vlak-type small { font-size: var(--fs-small); }
.vlak-overline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-overline);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--color-brand);
}
