/* ================================================================
   JPert INC — Brand Stylesheet  /css/brand.css
   Import on EVERY page. Edit tokens here once — updates site-wide.
   ================================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --orange:        #F58220;
  --blue:          #2B6CDE;
  --black:         #1A1A1A;

  --orange-50:     #FFF3E6;
  --orange-100:    #FDDCB3;
  --orange-200:    #FAB96A;
  --orange-400:    #F58220;
  --orange-600:    #C4671A;
  --orange-800:    #8A4812;
  --orange-900:    #5C300C;

  --blue-50:       #E8F0FB;
  --blue-100:      #B8D4F5;
  --blue-200:      #7AB0EA;
  --blue-400:      #2B6CDE;
  --blue-600:      #2256B2;
  --blue-800:      #183D7D;
  --blue-900:      #0F2853;

  --n-50:          #F5F5F5;
  --n-100:         #E0E0E0;
  --n-400:         #9E9E9E;
  --n-600:         #616161;
  --n-800:         #333333;
  --n-900:         #1A1A1A;

  --success:       #43A047;
  --warning:       #FFA000;
  --danger:        #E53935;

  --purple:        #5E35B1;
  --purple-light:  #EDE7F6;
  --teal:          #00897B;
  --teal-light:    #E0F2F1;

  --font-heading:  'Montserrat', Calibri, Arial, sans-serif;
  --font-body:     'Inter', Calibri, Arial, sans-serif;

  --nav-h:         72px;
  --max-w:         1200px;
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--n-900);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.jpert-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--n-100);
  z-index: 100;
  display: flex; align-items: center;
  transition: box-shadow 0.3s var(--ease);
}
.jpert-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; object-fit: contain; }
.nav-logo-text { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--n-900); letter-spacing: -0.01em; }
.nav-logo-text span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--n-600); font-family: var(--font-body); font-size: 13px; font-weight: 400; padding: 6px 11px; border-radius: 6px; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--n-900); background: var(--n-50); }
.nav-links a.active { font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-orange {
  text-decoration: none; background: var(--orange); color: #fff;
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 6px; letter-spacing: 0.01em;
  transition: all 0.2s; white-space: nowrap; display: inline-block;
}
.btn-orange:hover { background: var(--orange-600); box-shadow: 0 4px 16px rgba(245,130,32,0.35); }

.btn-outline-sm {
  text-decoration: none; color: var(--n-800); font-family: var(--font-body);
  font-size: 13px; font-weight: 500; padding: 8px 14px;
  border: 1.5px solid var(--n-100); border-radius: 6px; transition: all 0.2s; white-space: nowrap;
}
.btn-outline-sm:hover { border-color: var(--n-400); background: var(--n-50); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; background: var(--orange); color: #fff;
  font-family: var(--font-heading); font-size: 14px; font-weight: 600;
  padding: 13px 26px; border-radius: 8px; letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,130,32,0.38); }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  font-family: var(--font-heading); font-size: 14px; font-weight: 500;
  padding: 13px 26px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.2); transition: all 0.25s var(--ease);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--n-900);
  font-family: var(--font-heading); font-size: 14px; font-weight: 500;
  padding: 12px 22px; border-radius: 8px;
  border: 1.5px solid var(--n-100); transition: all 0.2s;
}
.btn-outline-dark:hover { background: var(--n-50); border-color: var(--n-400); }

/* ── SECTION UTILITIES ──────────────────────────────────────── */
section { padding: 96px 40px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--orange); }
.eyebrow-blue { color: var(--blue-400); }
.eyebrow-blue::before { background: var(--blue-400); }

.section-h {
  font-family: var(--font-heading); font-size: clamp(28px, 3vw, 46px);
  font-weight: 700; line-height: 1.14; letter-spacing: -0.02em;
  color: var(--n-900); margin-bottom: 16px;
}
.section-h span { color: var(--orange); }
.section-h.white { color: #fff; }
.section-p { font-size: 15px; font-weight: 300; color: var(--n-600); line-height: 1.75; max-width: 580px; }
.section-p.white { color: rgba(255,255,255,0.5); }
.section-p.center { margin: 0 auto; text-align: center; }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--n-900) 100%);
  padding: calc(var(--nav-h) + 60px) 40px 68px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading); font-size: clamp(32px, 4vw, 54px);
  font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.75; max-width: 540px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.jpert-footer { background: var(--n-900); color: rgba(255,255,255,0.4); padding: 64px 40px 36px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand-name span { color: var(--orange); }
.footer-tagline { font-family: var(--font-heading); font-size: 13px; font-weight: 300; font-style: italic; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 18px; }
.footer-contact a { display: block; font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; font-weight: 300; margin-bottom: 4px; transition: color 0.2s; }
.footer-contact a:hover { color: rgba(255,255,255,0.8); }
.footer-col h4 { font-family: var(--font-heading); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.38); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.78); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-family: var(--font-body); font-size: 11px; color: rgba(255,255,255,0.2); flex-wrap: wrap; gap: 10px; }
.footer-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); margin: 0 6px; vertical-align: middle; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  section { padding: 72px 32px; }
  .nav-inner { padding: 0 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
}
@media (max-width: 640px) {
  section { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 20px 48px; }
}
