/* css/global.css */
/* Invicto Security — global design system */
/* Updated: 2026-06-12 16:50 */

/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette */
  --navy:          #0d0d0d;
  --navy-mid:      #141414;
  --navy-light:    #1e1e1e;
  --cream:         #e8e8e8;
  --cream-dark:    #d0d0d0;
  --gold:          #C0C0C8;
  --gold-light:    #d8d8e0;
  --gold-dark:     #9090a0;
  --slate:         #666670;
  --slate-light:   #888890;
  --white:         #ffffff;
  --black:         #000000;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-padding:        120px;
  --section-padding-mobile: 72px;
  --container-max:          1240px;
  --container-padding:      48px;
  --container-padding-mobile: 24px;

  /* Transitions */
  --transition-fast:   0.18s ease;
  --transition-mid:    0.32s ease;
  --transition-slow:   0.56s ease;

  /* Border radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-pill: 999px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.display-xl {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.15;
}
.display-sm {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.2;
}
.body-lg {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
}
.body-md {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}
.body-sm {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}
.text-muted {
  color: var(--slate-light);
}
.text-gold {
  color: var(--gold);
}
.text-cream {
  color: var(--cream);
}
.label-caps {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.section-pad {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ============================================================
   BUTTONS
   ============================================================ */

/* --- Primary: solid platinum on dark backgrounds --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* --- Secondary: outlined platinum on dark backgrounds --- */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

/* --- Dark: solid obsidian on light backgrounds --- */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* --- Ghost: outlined obsidian on light backgrounds --- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--navy);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

/* Pair modifier — equal width buttons side by side */
.btn-pair {
  min-width: 180px;
}

/* ============================================================
   GLASS CARD SYSTEM
   ============================================================ */
.glass-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 192, 200, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-card-light {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(192, 192, 200, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold);
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}
.divider-center {
  margin: 24px auto;
}

/* ============================================================
   ENQUIRY FLOAT BUTTON
   ============================================================ */
.enquiry-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(192, 192, 200, 0.35);
  z-index: 900;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.enquiry-float:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   PAGE HERO (shared across inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 160px var(--container-padding) 100px;
  text-align: center;
}
.page-hero .page-hero-label {
  color: var(--gold);
  margin-bottom: 16px;
}
.page-hero .page-hero-title {
  color: var(--white);
  margin-bottom: 20px;
}
.page-hero .page-hero-subtitle {
  color: rgba(232, 232, 232, 0.7);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--navy-mid);
  padding: 20px var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 232, 232, 0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-item-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding:      var(--section-padding-mobile);
    --container-padding:    var(--container-padding-mobile);
  }
  .page-hero {
    padding: 130px var(--container-padding-mobile) 72px;
  }
  .trust-strip {
    gap: 24px;
    padding: 20px var(--container-padding-mobile);
  }
  .btn-pair {
    min-width: 140px;
  }
}
