/* ============================================================
   JS7 SOLUTIONS — Global Stylesheet
   Brand: Navy #080d24 | Copper #c9956a
   Fonts: Cormorant Garamond (display) + Barlow / Barlow Condensed (UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #080d24;
  --navy-mid:    #0f1535;
  --navy-light:  #1a2247;
  --copper:      #c9956a;
  --copper-light:#ddb48e;
  --copper-dim:  #a37650;
  --white:       #f5f2ee;
  --white-dim:   #c8c2ba;
  --rule:        rgba(201,149,106,0.25);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-ui:     'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Nav injection wrapper — must not create a stacking/scroll context */
#js7-nav { display: contents; }

/* ── UTILITY ─────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
}

.section-title em { color: var(--copper); font-style: italic; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
}

.section-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.section-link::after { content: '→'; }
.section-link:hover { opacity: 0.75; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--copper);
  border: none;
  padding: 15px 34px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--copper-light); }

.btn-ghost {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 14px 34px;
  cursor: pointer;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--copper); }

.btn-dark {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  background: var(--navy);
  border: none;
  padding: 14px 30px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--navy-mid); }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,13,36,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo-box {
  border: 1.5px solid var(--copper);
  padding: 4px 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.nav-logo-top {
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--copper-dim);
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo-main {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--copper);
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--copper); }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--copper);
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.nav-cta:hover { background: var(--copper-light); }

/* ── SERVICES BAR ────────────────────────────────────────── */
.services-bar {
  position: sticky;
  top: 68px;
  z-index: 99;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.services-bar::-webkit-scrollbar { display: none; }

.services-bar-inner {
  display: flex;
  align-items: stretch;
  min-width: max-content;
  height: 44px;
  padding: 0 60px;
}

.sbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  position: relative;
}
.sbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.sbar-item:hover::after,
.sbar-item.sbar-active::after { transform: scaleX(1); }

.sbar-num {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--copper-dim);
  line-height: 1;
}
.sbar-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
  line-height: 1;
}
.sbar-item:hover .sbar-label,
.sbar-item.sbar-active .sbar-label { color: var(--copper); }

.sbar-divider {
  width: 1px;
  background: var(--rule);
  align-self: stretch;
  flex-shrink: 0;
}

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--copper);
  transition: all 0.3s;
}

/* ── STRIP / MARQUEE ─────────────────────────────────────── */
.strip {
  background: var(--copper);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.strip-inner {
  display: inline-block;
  animation: marquee 32s linear infinite;
}
.strip-inner span {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 36px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--rule);
  padding: 80px 80px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,149,106,0.04) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(201,149,106,0.04) 80px);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--copper);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.02;
  color: var(--white);
  max-width: 700px;
  position: relative;
}
.page-hero h1 em { color: var(--copper); font-style: italic; }
.page-hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.7;
  position: relative;
}

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--navy-light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  max-width: 600px;
}
.cta-headline em { color: var(--copper); font-style: italic; }
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 60px 80px 32px;
  border-top: 1px solid var(--rule);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.footer-logo-box {
  border: 1.5px solid var(--copper-dim);
  padding: 14px 28px 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 260px;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-nav-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  display: block;
}
.footer-nav-links { list-style: none; }
.footer-nav-links li { margin-bottom: 10px; }
.footer-nav-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--white-dim);
  transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--copper); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(200,194,186,0.45);
  letter-spacing: 0.05em;
}
.footer-socials { display: flex; gap: 20px; }
.footer-socials a {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--copper); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .services-bar-inner { padding: 0 16px; }
  .sbar-item { padding: 0 12px; }
  .sbar-label { font-size: 10px; }

  .page-hero { padding: 60px 24px 52px; }
  .page-hero h1 { font-size: 40px; }
  .section-title { font-size: 34px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer { padding: 48px 24px 24px; }

  .cta-band { flex-direction: column; padding: 60px 24px; text-align: center; }
  .cta-headline { font-size: 36px; }
  .cta-actions { justify-content: center; }
}
