/* =============================================================
   HotelBlox Design System — Colors & Type
   Source: HotelBlox-ColorSwatches.pdf + Website homepage comps
   ============================================================= */


:root {
  /* --- Brand colors (official swatches) --------------------- */
  --htblx-ink:       #0D0D0D;  /* Near-black; headlines, body emphasis */
  --htblx-burgundy:  #512931;  /* Primary brand color; footer bg, accents */
  --htblx-amber:     #F4A502;  /* Accent / CTA; signup button, panels, rule */
  --htblx-slate:     #5C6880;  /* Muted body text, italic pull-quotes */
  --htblx-paper:     #FBFBFB;  /* Off-white; page background */

  /* --- Extended neutrals (derived, harmonious) -------------- */
  --htblx-white:     #FFFFFF;
  --htblx-sand:      #F6F1E8;  /* warm panel tint */
  --htblx-line:      #E6E4DF;  /* hairline divider */
  --htblx-line-dark: rgba(255,255,255,0.28); /* on burgundy */
  --htblx-ink-60:    rgba(13,13,13,0.60);
  --htblx-ink-40:    rgba(13,13,13,0.40);
  --htblx-ink-12:    rgba(13,13,13,0.12);

  /* --- Semantic color roles --------------------------------- */
  --bg:            var(--htblx-paper);
  --bg-alt:        var(--htblx-sand);
  --bg-inverse:    var(--htblx-burgundy);
  --fg1:           var(--htblx-ink);          /* primary text */
  --fg2:           var(--htblx-slate);        /* secondary text */
  --fg3:           var(--htblx-ink-60);       /* tertiary / meta */
  --fg-inverse:    var(--htblx-paper);        /* text on dark bg */
  --fg-accent:     var(--htblx-amber);
  --rule:          var(--htblx-line);
  --rule-strong:   var(--htblx-ink);

  /* --- Radii, spacing, shadow ------------------------------- */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-pill: 999px;

  --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;
  --space-10: 128px;

  --shadow-sm: 0 1px 2px rgba(13,13,13,0.06), 0 1px 1px rgba(13,13,13,0.04);
  --shadow-md: 0 6px 20px rgba(13,13,13,0.08), 0 2px 6px rgba(13,13,13,0.05);
  --shadow-lg: 0 18px 48px rgba(13,13,13,0.14), 0 6px 16px rgba(13,13,13,0.08);
  --shadow-image: 0 20px 40px rgba(13,13,13,0.18);

  /* --- Type families --------------------------------------- */
  --font-serif: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-sans:  'Poppins', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand:  'Caveat', 'Bradley Hand', cursive; /* for doodle labels / arrows */

  /* --- Type scale (desktop-first; steps match comps) ------- */
  --fs-display:  88px;  /* Hero "Travel, built into your brand." */
  --fs-h1:       64px;  /* Section titles: "One platform." */
  --fs-h2:       40px;  /* Sub-sections: "Why this works:" */
  --fs-h3:       28px;  /* Card titles, step titles */
  --fs-h4:       22px;  /* Smaller headings */
  --fs-lead:     20px;  /* Lead paragraphs / hero sub */
  --fs-body:     16px;  /* Body copy */
  --fs-sm:       14px;  /* Footer links, meta */
  --fs-xs:       12px;  /* micro labels */

  --lh-tight: 1.05;
  --lh-snug:  1.2;
  --lh-body:  1.55;
  --lh-loose: 1.75;

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-micro:  0.12em;
}

.serif  { font-family: var(--font-serif); }
.sans   { font-family: var(--font-sans); }
.hand   { font-family: var(--font-hand); }

.display {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--fg1);
}

.lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--fg2);
  font-weight: 400;
}

.italic-pull {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--fg2);
  font-size: 22px;
  line-height: 1.4;
}

.meta, small, .sm { font-size: var(--fs-sm); color: var(--fg3); }
.micro { font-size: var(--fs-xs); letter-spacing: var(--tracking-micro); text-transform: uppercase; color: var(--fg3); }

.step-label {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--htblx-slate);
  font-weight: 400;
}

hr, .rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: var(--space-6) 0;
}

/* Gold rule / divider, as seen above italic pull-quotes */
.rule-gold {
  border: 0;
  height: 3px;
  width: 72px;
  background: var(--htblx-amber);
  margin: 0 auto var(--space-4);
}

::selection { background: var(--htblx-amber); color: var(--htblx-ink); }
