/* ============================================
   COVERIT CANADA — Global Stylesheet
   ============================================ */

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

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Barlow', sans-serif; color: #111; background: #fff; overflow-x: hidden; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- CSS Variables ---- */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --white: #ffffff;
  --gray: #f7f7f7;
  --border: #e8e8e8;
  --text-muted: #888;
  --text-faint: #aaa;
  --white-10: rgba(255,255,255,0.1);
  --white-20: rgba(255,255,255,0.2);
  --white-40: rgba(255,255,255,0.4);
  --white-55: rgba(255,255,255,0.55);
  --nav-h: 68px;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--nav-h);
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px;
  transition: background 0.3s;
}
.nav-logo {
  display: flex; align-items: center;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
  color: #fff; letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-logo span { color: rgba(255,255,255,0.35); }
.nav-logo-img {
  height: 52px; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: #fff !important; color: #111 !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important; font-size: 12px !important;
  letter-spacing: .1em !important; text-transform: uppercase !important;
  padding: 10px 24px !important;
  border: 2px solid #fff !important;
  transition: all .2s !important;
}
.nav-cta:hover { background: transparent !important; color: #fff !important; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; transition: all .3s;
}
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  padding: 32px 24px; z-index: 9998;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-direction: column; gap: 0;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block; transition: color .2s;
}
.nav-mobile a:hover { color: #fff; }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ============================================
   SHARED COMPONENTS
   ============================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 11px;
  font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #999; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: #999; }
.eyebrow-w {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 11px;
  font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 14px;
}
.eyebrow-w::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.3); }

.h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(38px,4vw,64px); line-height: .92; color: #111;
  margin-bottom: 48px;
}
.h2 em { font-style: normal; -webkit-text-stroke: 1.5px #111; color: transparent; }
.h2-w {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(38px,4vw,64px); line-height: .92; color: #fff;
  margin-bottom: 48px;
}
.h2-w em { font-style: normal; -webkit-text-stroke: 1.5px #fff; color: transparent; }

.btn-white {
  background: #fff; color: #111;
  font-family: var(--font-display); font-weight: 800;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 36px; border: 2px solid #fff;
  display: inline-block; transition: all .2s; cursor: pointer;
}
.btn-white:hover { background: transparent; color: #fff; }
.btn-outline-w {
  background: transparent; color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 36px; border: 2px solid rgba(255,255,255,0.35);
  display: inline-block; transition: all .2s;
}
.btn-outline-w:hover { border-color: #fff; }
.btn-black {
  background: #111; color: #fff;
  font-family: var(--font-display); font-weight: 800;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  padding: 17px 44px; border: 2px solid #111;
  display: inline-block; transition: all .2s;
}
.btn-black:hover { background: #fff; color: #111; }

/* Sections */
.sec { padding: 96px 64px; }
.sec-white { background: #fff; }
.sec-gray { background: #f7f7f7; }
.sec-dark { background: #111; }
.sec-black { background: #0a0a0a; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.four-col { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }

/* Cards */
.card-dark {
  background: #111; padding: 36px 28px;
  border-top: 2px solid rgba(255,255,255,0.08);
  transition: all .3s;
}
.card-dark:hover { background: #1a1a1a; border-top-color: rgba(255,255,255,0.4); }
.card-dark .card-icon { font-size: 28px; margin-bottom: 16px; }
.card-dark .card-title {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 800; color: #fff; margin-bottom: 8px;
}
.card-dark .card-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.65; }

.stat-box {
  background: #1a1a1a; padding: 40px 32px;
  border-bottom: 3px solid rgba(255,255,255,0.07);
  transition: border-color .25s;
}
.stat-box:hover { border-bottom-color: #fff; }
.stat-box .stat-n {
  font-family: var(--font-display); font-size: 52px;
  font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px;
}
.stat-box .stat-l { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.5; }

/* Feat list */
.feat-list { display: flex; flex-direction: column; }
.feat-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid #e8e8e8; align-items: flex-start;
}
.feat-item:first-child { border-top: 1px solid #e8e8e8; }
.feat-num {
  font-family: var(--font-display); font-size: 11px;
  font-weight: 800; letter-spacing: .1em; color: #ccc;
  flex-shrink: 0; width: 28px; padding-top: 3px;
}
.feat-title { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: #111; margin-bottom: 4px; }
.feat-desc { font-size: 14px; color: #888; line-height: 1.65; }
.feat-item-dark .feat-num { color: rgba(255,255,255,0.2); }
.feat-item-dark .feat-title { color: #fff; }
.feat-item-dark { border-color: rgba(255,255,255,0.07) !important; }

/* CTA Band */
.cta-band {
  background: #fff; border-top: 3px solid #111; border-bottom: 3px solid #111;
  padding: 80px 64px; display: grid;
  grid-template-columns: 1fr auto; align-items: center; gap: 48px;
}
.cta-band-h {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px,4vw,54px); color: #111; line-height: .95; margin-bottom: 12px;
}
.cta-band-sub { font-size: 15px; color: #888; max-width: 500px; line-height: 1.7; }
.cta-band-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.cta-band-email { font-size: 13px; color: #aaa; text-align: right; }
.cta-band-email a { color: #111; font-weight: 600; }

/* Responsive grid utility */
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.grid-form-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media(max-width: 768px) {
  .grid-form { grid-template-columns: 1fr; gap: 40px; }
  .grid-form-inner { grid-template-columns: 1fr; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #0a0a0a; padding: 80px 64px 0; border-top: 1px solid #1a1a1a; }
.footer-grid {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: var(--font-display); font-size: 24px;
  font-weight: 900; color: #fff; letter-spacing: .06em; margin-bottom: 12px;
  display: flex; align-items: center;
}
.footer-logo-img {
  height: 44px; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.3); line-height: 1.8; max-width: 300px; margin-bottom: 24px; }
.footer-contact { font-size: 14px; color: rgba(255,255,255,0.3); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.12); padding: 8px 16px; margin-top: 16px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.footer-col-title {
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.35); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding: 24px 0; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.18); flex-wrap: wrap; gap: 10px;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: #111; padding: 160px 64px 88px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 11px;
  font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.page-eyebrow::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.4); }
.page-h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(52px,7vw,96px); line-height: .9; color: #fff; margin-bottom: 24px;
}
.page-h1 em { font-style: italic; color: rgba(255,255,255,0.35); }
.page-hero-sub {
  font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.55);
  max-width: 600px; line-height: 1.75; margin-bottom: 40px;
}
.page-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-sm {
  background: transparent; color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 26px; border: 1px solid rgba(255,255,255,0.3);
  display: inline-block; transition: all .2s; white-space: nowrap;
}
.btn-outline-sm:hover { border-color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media(max-width: 1024px) {
  .nav { padding: 0 36px; }
  .sec { padding: 72px 36px; }
  .two-col { gap: 48px; }
  .footer { padding: 60px 36px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-band { padding: 60px 36px; }
  .page-hero { padding: 140px 36px 72px; }
}

@media(max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .sec { padding: 56px 20px; }
  .two-col, .three-col, .four-col { grid-template-columns: 1fr; gap: 2px; }
  .footer { padding: 56px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-band { padding: 56px 20px; grid-template-columns: 1fr; gap: 28px; }
  .cta-band-right { align-items: flex-start; }
  .page-hero { padding: 120px 20px 64px; }
  .page-h1 { font-size: 44px; }
  .page-hero-sub { font-size: 16px; }
  .h2, .h2-w { font-size: 36px; }
}
