/* ============================================================
   STRATCORE — _shared.css
   Metropolis font · Shared layout, header, footer, utilities
   ============================================================ */

/* Metropolis — served via Fontshare CDN */
@import url('https://api.fontshare.com/v2/css?f[]=metropolis@400,500,600,700,800,900&display=swap');

:root {
  --navy:   #06172a;
  --navy2:  #0b2240;
  --blue:   #0e4f8c;
  --blue2:  #0a3b6b;
  --gold:   #f2b318;
  --gold2:  #d49b0d;
  --bg:     #f5f7fa;
  --white:  #ffffff;
  --text:   #0e1722;
  --muted:  #5a6a80;
  --line:   #e2e8f0;
  --r:      20px;
  --rlg:    32px;
  --sh:     0 20px 60px rgba(6,23,42,.09);
  --shmd:   0 30px 80px rgba(6,23,42,.16);
  --t:      .38s cubic-bezier(.22,.68,.26,1);
  --max:    1240px;
  --font:   'Metropolis', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4,h5 {
  font-family: var(--font);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 800;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sec  { padding: 108px 0; }

/* ===== SHARED BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 14.5px;
  border: 0; cursor: pointer; transition: var(--t); white-space: nowrap; line-height: 1;
}
.btn svg { width: 15px; height: 15px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold  { background: var(--gold); color: #0d1e2e; box-shadow: 0 12px 28px rgba(242,179,24,.28); }
.btn-gold:hover  { background: var(--gold2); transform: translateY(-2px); }
.btn-navy  { background: var(--navy); color: #fff; box-shadow: 0 12px 28px rgba(6,23,42,.22); }
.btn-navy:hover  { background: var(--navy2); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.tb-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 46px; gap: 16px; flex-wrap: wrap; padding: 8px 0;
}
.tb-l, .tb-r { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tb-sep { color: rgba(255,255,255,.2); }
.topbar a:hover { color: var(--gold); transition: color var(--t); }

/* ===== SITE HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14,23,34,.07);
  transition: var(--t);
}
.site-header.scrolled { box-shadow: 0 16px 40px rgba(6,23,42,.09); }

.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 20px;
}

/* Brand / Logo */
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; display: block; object-fit: contain; }
.brand-logo-footer { height: 92px;  }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-weight: 600; font-size: 15px; color: #2d3748;
}
.nav-links a { position: relative; transition: color var(--t); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold);
  border-radius: 99px; transition: width var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; width: 44px; height: 44px;
  border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; position: absolute; left: 10px; right: 10px;
  height: 1.8px; background: var(--text); transition: var(--t);
}
.menu-toggle span  { top: 21px; }
.menu-toggle::before { top: 14px; }
.menu-toggle::after  { top: 28px; }
.menu-toggle.active span   { opacity: 0; }
.menu-toggle.active::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active::after  { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE HERO BANNER (inner pages) ===== */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: 100px 0 88px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .14; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(14,79,140,.35), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(242,179,24,.12), transparent 30%);
  pointer-events: none;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.5); font-size: 13.5px; font-weight: 500; margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep  { color: rgba(255,255,255,.22); }
.breadcrumb .curr { color: var(--gold); }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 860px; }

/* ===== SECTION UTILITIES ===== */
.tag {
  display: inline-block; color: var(--blue);
  text-transform: uppercase; letter-spacing: .22em;
  font-weight: 700; font-size: 12.5px; margin-bottom: 14px;
}
.tag-gold  { color: var(--gold2); }
.tag-white { color: rgba(255,255,255,.7); }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 52px;
}
.sec-head h2 { font-size: clamp(30px, 4vw, 54px); max-width: 660px; }
.sec-lead { color: var(--muted); font-size: 16.5px; max-width: 560px; margin-top: 12px; }
.sec-head-inv h2  { color: #fff; }
.sec-head-inv .sec-lead { color: rgba(255,255,255,.7); }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(180deg, var(--navy), #050e1c);
  color: rgba(255,255,255,.72);
  padding: 90px 0 0;
  position: relative; overflow: hidden;
}
footer::before {
  content: ""; position: absolute; right: -80px; bottom: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05), transparent 65%);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr .7fr .7fr 1fr;
  gap: 32px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative; z-index: 1;
}
.footer-about p {
  color: rgba(255,255,255,.56); font-size: 15px;
  margin-top: 16px; line-height: 1.78;
}
.footer-col h4 {
  color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px;
}
.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col a, .footer-col p {
  color: rgba(255,255,255,.56); font-size: 14.5px; transition: color var(--t), padding-left var(--t);
}
.footer-col a:hover { color: var(--gold); padding-left: 3px; }
.ci { display: flex; gap: 10px; align-items: flex-start; }
.ci svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.ci span { color: rgba(255,255,255,.56); font-size: 14.5px; }
.f-socials { display: flex; gap: 10px; margin-top: 20px; }
.f-socials a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: grid; place-items: center; transition: var(--t);
}
.f-socials a:hover { background: var(--gold); color: var(--navy); }
.f-socials svg { width: 16px; height: 16px; }
.footer-bottom {
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,.38);
  position: relative; z-index: 1;
}
.footer-bottom a { color: rgba(255,255,255,.38); transition: color var(--t); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== SCROLL ANIMATIONS (shared across all pages) ===== */
.anim   { opacity: 0; transform: translateY(36px); transition: opacity .75s cubic-bezier(.25,.6,.3,1), transform .75s cubic-bezier(.25,.6,.3,1); }
.anim-l { opacity: 0; transform: translateX(-44px); transition: opacity .75s cubic-bezier(.25,.6,.3,1), transform .75s cubic-bezier(.25,.6,.3,1); }
.anim-r { opacity: 0; transform: translateX(44px);  transition: opacity .75s cubic-bezier(.25,.6,.3,1), transform .75s cubic-bezier(.25,.6,.3,1); }
.anim-s { opacity: 0; transform: scale(.93);         transition: opacity .7s ease, transform .7s ease; }
.anim.in, .anim-l.in, .anim-r.in, .anim-s.in { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s cubic-bezier(.25,.6,.3,1), transform .65s cubic-bezier(.25,.6,.3,1);
}
.stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: .04s; }
.stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .12s; }
.stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .20s; }
.stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .28s; }
.stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .36s; }
.stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .44s; }

.imgz img { transform: scale(1.07); transition: transform 1.2s cubic-bezier(.25,.6,.3,1); }
.imgz.in img { transform: scale(1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    background: #fff; border: 1.5px solid var(--line);
    border-radius: 20px; box-shadow: 0 24px 60px rgba(6,23,42,.12);
    padding: 20px; display: grid; gap: 16px;
    opacity: 0; transform: translateY(10px); pointer-events: none; transition: var(--t);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .hdr-inner { position: relative; }
  .hdr-cta   { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 72px 0; }
  .tb-r { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
