/* ===================================================
   Sun-Brite — Design System v2
   Bold, large-scale identity: deep navy + royal blue,
   built to read as a powerful national leader.
=================================================== */

:root {
  --navy-deep: #201F22;
  --navy: #2D2C30;
  --navy-soft: #403F45;
  --blue: #1E5AA8;
  --blue-bright: #2E7EEA;
  --sky: #7FB6E8;
  --sky-pale: #DCEBFA;
  --white: #FFFFFF;
  --paper: #F7F7F8;
  --paper-deep: #ECECEE;
  --ink: #0D0D0F;
  --charcoal: #0D0D0F;
  --charcoal-soft: #52545A;
  --line: rgba(13, 13, 15, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.12);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1280px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* overflow-x is intentionally set on body only, not html — setting it on
   both breaks position:sticky (site-header, section-nav) in most browsers,
   since it forces html and body into two competing scroll containers. */
body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 0.55em;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 4.6vw, 3.8rem); font-weight: 500; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.3rem); font-weight: 500; letter-spacing: -0.018em; }
h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1.3em; color: var(--charcoal-soft); font-size: 0.98rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue-bright);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow.on-dark { color: var(--sky); }
.eyebrow.on-dark::before, .page-hero .eyebrow::before { background: var(--sky); }
.partner-bar .eyebrow.on-dark { color: var(--blue); }
.partner-bar .eyebrow::before { background: var(--blue-bright); }
.section-head.center .eyebrow { justify-content: center; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 156px 0; }
section.tight { padding: 116px 0; }

.section-head {
  max-width: 620px;
  margin: 0 0 68px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 12px 22px rgba(16, 22, 31, 0.18); }
.btn-outline {
  background: transparent;
  border-color: rgba(16, 22, 31, 0.24);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: var(--sky-pale); transform: translateY(-2px); box-shadow: 0 12px 22px rgba(7, 27, 51, 0.14); }
.btn-on-dark {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-inner a { color: rgba(255,255,255,0.85); }
.topbar-inner a:hover { color: var(--sky); }
.topbar-inner .divider { opacity: 0.4; margin: 0 4px; }

/* Language toggle — EN | FR, sits in the topbar, right side */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.lang-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.2s ease;
}
.lang-btn:hover { color: rgba(255,255,255,0.88); }
.lang-btn.active { color: var(--white); }
.lang-switch .lang-sep { color: rgba(255,255,255,0.28); }

/* Google Translate widget — loaded invisibly; the .lang-btn toggle above
   drives it directly, so all of Google's own UI (toolbar, top banner,
   floating gadget, tooltips, highlight boxes) is hidden. Never remove
   #google_translate_element itself — the toggle has nothing to control
   without it. Google injects some of this after the fact (its own script
   re-adds the top banner iframe and nudges body/html down with inline
   styles), so this is reinforced by JS in main.js as a belt-and-suspenders
   fix — CSS alone intermittently loses that race. */
#google_translate_element,
#google_translate_element * { display: none !important; }
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-menu-frame { display: none !important; visibility: hidden !important; height: 0 !important; }
body, html { top: 0 !important; margin-top: 0 !important; }
.goog-te-gadget-icon { display: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Mobile-only CTA bar — swaps in for the phone/hours bar on small screens */
.topbar-mobile-cta { display: none; padding: 10px 20px; text-align: center; }
.topbar-mobile-cta .btn { width: 100%; justify-content: center; }
/* The desktop topbar-inner (which holds the EN|FR toggle) is hidden below
   760px in favor of this CTA bar — without this, the language toggle would
   disappear entirely on mobile. Reuses the same .lang-switch/.lang-btn
   styles, which are already designed for the topbar's dark background. */
.topbar-mobile-lang { display: flex; justify-content: center; margin-top: 10px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 251, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 28px rgba(7, 27, 51, 0.08);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 17px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.logo span { color: var(--blue-bright); }
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}
.footer-grid .logo-img {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--blue-bright);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.68rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Hero (large-scale, dark, elevated) ---------- */
.hero {
  padding: 160px 0 168px;
  background:
    radial-gradient(circle at 88% -15%, rgba(46, 126, 234, 0.3) 0%, rgba(46,126,234,0) 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  bottom: -220px; left: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,182,232,0.16) 0%, rgba(127,182,232,0) 70%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 100px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 46%, 100% 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
}
.hero h1 { color: var(--white); }
.hero p.lede {
  font-size: 1.08rem;
  max-width: 560px;
  color: rgba(255,255,255,0.76);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 140px 0 120px;
  background:
    radial-gradient(circle at 92% -5%, rgba(46, 126, 234, 0.26) 0%, rgba(46,126,234,0) 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 84px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 52%, 100% 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 740px; color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.page-hero p.lede { max-width: 600px; font-size: 1rem; color: rgba(255,255,255,0.76); line-height: 1.75; }
.page-hero .eyebrow { color: var(--sky); }

/* ---------- Stat strip (under hero) ---------- */
.hero-stats {
  position: relative;
  border-top: 1px solid var(--line-on-dark);
  margin-top: 56px;
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero-stats .stat h3 { color: var(--white); font-size: 2rem; font-style: italic; font-weight: 400; margin-bottom: 4px; }
.hero-stats .stat p { color: rgba(255,255,255,0.6); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; font-weight: 600; }

/* ---------- Cards / Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: card;
}
.audience-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 46px 36px 40px;
  counter-increment: card;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.audience-card::before {
  content: "0" counter(card);
  position: absolute;
  top: -10px; right: 20px;
  font-family: var(--font-head);
  font-size: 3.8rem;
  font-weight: 500;
  font-style: italic;
  color: var(--paper-deep);
  z-index: 0;
  line-height: 1;
}
.audience-card > * { position: relative; z-index: 1; }
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(16, 22, 31, 0.08);
  border-color: rgba(16, 22, 31, 0.18);
}
.audience-card .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
  display: block;
}
.audience-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.audience-card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--blue-bright);
  padding-bottom: 2px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.audience-card a.card-link:hover { gap: 10px; color: var(--blue-bright); }

.swatch-block {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  color: var(--ink);
  border-radius: 6px;
  padding: 72px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-bright);
}
.swatch-block::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,126,234,0.08), transparent 70%);
}
.swatch-block h2, .swatch-block h3 { color: var(--ink); position: relative; }
.swatch-block p { color: var(--charcoal-soft); position: relative; }
.swatch-block > * { position: relative; }

/* ---------- Two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  background: var(--white);
  border-radius: 6px;
  aspect-ratio: 4/3;
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(7, 27, 51, 0.07);
}
.media-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background:
    radial-gradient(circle at 25% 15%, rgba(46,126,234,0.32), transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  padding: 0;
}

/* ---------- Lists ---------- */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
}
.feature-list.on-dark li { color: rgba(255,255,255,0.85); }
.feature-list.on-dark li::before { background: var(--sky); }

/* ---------- Partner / trust bar ---------- */
.partner-bar {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 76px 0;
}
.partner-bar .partner-head {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.partner-bar .partner-head .eyebrow { color: var(--blue); justify-content: center; }
.partner-bar .partner-head h2 { color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2rem); font-style: italic; font-weight: 400; }
.partner-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.partner-mark {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 20px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.partner-mark:hover { background: var(--paper); transform: translateY(-3px); border-color: rgba(46,126,234,0.35); }
.partner-mark small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 10px;
}

/* ---------- Altex-featured trust block ---------- */
.partner-feature {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}
.partner-feature .altex-mark {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.partner-feature .altex-desc {
  color: var(--charcoal-soft);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 0.92rem;
}
.partner-feature .altex-systems {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.partner-also {
  margin-top: 44px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.03em;
}
.partner-also strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Portfolio / gallery ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 30px;
}
.portfolio-grid .p-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background:
    radial-gradient(circle at 30% 20%, rgba(46,126,234,0.3), transparent 55%),
    linear-gradient(150deg, var(--navy-soft), var(--navy-deep) 130%);
  border: 4px solid var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.portfolio-grid .p-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.16);
}
.portfolio-grid .p-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.portfolio-grid .p-item-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 20px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent 75%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.portfolio-grid .p-item:hover .p-item-caption { opacity: 1; transform: translateY(0); }
.portfolio-grid .p-item-caption h4 {
  color: var(--white);
  font-size: 0.98rem;
  margin: 0 0 4px;
  font-style: italic;
  font-weight: 400;
}
.portfolio-grid .p-item-caption span {
  color: rgba(255,255,255,0.75);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.portfolio-grid .p-item.tall { grid-row: span 2; }
.portfolio-grid .p-item.wide { grid-column: span 2; }
.portfolio-grid .p-item.alt {
  background:
    radial-gradient(circle at 70% 80%, rgba(46,126,234,0.18), transparent 60%),
    linear-gradient(150deg, var(--paper-deep), var(--charcoal-soft) 160%);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.gallery-strip .g-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  border-radius: 3px;
  background: linear-gradient(160deg, var(--paper-deep), var(--white));
  border: 4px solid var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-strip .g-item:hover { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12); }
.gallery-strip .g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Brand cards (products) ---------- */
.brand-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(16, 22, 31, 0.07);
}
.brand-card .brand-mark {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  border-right: 1px solid var(--line);
  padding-right: 28px;
}
.brand-card:last-child { margin-bottom: 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(16, 22, 31, 0.07);
  border-color: rgba(46, 126, 234, 0.22);
}
.category-card h4 {
  font-family: var(--font-head);
  font-weight: 500;
  font-style: italic;
  font-size: 1.02rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.category-card p { font-size: 0.86rem; margin: 0; }

/* ---------- Mini brand mentions (secondary, low-emphasis) ---------- */
.mini-brand-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.mini-brand {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.mini-brand h4 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  color: var(--charcoal-soft);
  margin-bottom: 6px;
}
.mini-brand p {
  font-size: 0.84rem;
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 6px;
  padding: 60px 64px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-bright);
  box-shadow: 0 20px 44px rgba(13, 13, 15, 0.06);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -100px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,126,234,0.08), transparent 70%);
}
.cta-band h2 { color: var(--ink); margin-bottom: 6px; font-style: italic; font-weight: 400; position: relative; }
.cta-band p { color: var(--charcoal-soft); margin: 0; position: relative; font-size: 0.92rem; }
.cta-band > a { position: relative; }

/* ---------- Slider ---------- */
.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  aspect-ratio: 21/8;
  background:
    radial-gradient(circle at 80% 0%, rgba(46,126,234,0.28), transparent 55%),
    linear-gradient(135deg, var(--navy-deep), var(--navy-soft) 140%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 40px;
}
.slide h3 { color: var(--white); font-size: 2rem; }
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slide-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
}
.slide-dots button.active { background: var(--white); }

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}
.stat-row .stat {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.stat-row .stat h3 {
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.stat-row .stat p {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin: 0;
  font-weight: 600;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.team-card {
  text-align: center;
  transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-3px); }
.team-card .avatar {
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--paper-deep), var(--charcoal-soft));
  margin-bottom: 16px;
  border: 3px solid var(--white);
  box-shadow: 0 14px 26px rgba(16, 22, 31, 0.1);
}
.team-card h4 { font-family: var(--font-head); font-weight: 500; font-size: 1rem; margin-bottom: 2px; color: var(--ink); }
.team-card p { font-size: 0.78rem; margin: 0; color: var(--charcoal-soft); font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
}
.contact-block {
  border-left: 1px solid var(--blue-bright);
  padding-left: 20px;
  margin-bottom: 30px;
}
.contact-block h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal-soft);
  margin-bottom: 8px;
}
.contact-block p { margin: 0; font-size: 1rem; color: var(--ink); }
.map-placeholder {
  border-radius: 4px;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(46,126,234,0.3), transparent 55%),
    linear-gradient(150deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
}
/* The embedded Google Maps iframe carries hardcoded width/height HTML
   attributes (600x450) — without this, it ignores its container entirely
   and forces horizontal overflow/scrolling on any screen narrower than
   ~650px, which is most phones. */
.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Reusable 2-up form row (e.g. Name + Phone) that stacks to one column on
   small screens instead of squeezing both fields down to ~110px wide. */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ---------- Pull quote ---------- */
.quote-block {
  position: relative;
  text-align: center;
  padding: 110px 0;
}
.quote-block .container { max-width: 760px; }
.quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--paper-deep);
  margin: 0 0 -1rem;
}
.quote-text {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 26px;
}
.quote-rule {
  width: 44px;
  height: 1px;
  background: var(--blue-bright);
  margin: 0 auto 22px;
}
.quote-attribution {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal-soft);
  margin: 0;
}

/* ---------- Alternate section tint ---------- */
.tint {
  background: var(--paper-deep);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.card-grid > *:nth-child(1), .category-grid > *:nth-child(1), .portfolio-grid > *:nth-child(1),
.team-grid > *:nth-child(1), .partner-row > *:nth-child(1), .stat-row > *:nth-child(1), .hero-stats > *:nth-child(1) { transition-delay: 0s; }
.card-grid > *:nth-child(2), .category-grid > *:nth-child(2), .portfolio-grid > *:nth-child(2),
.team-grid > *:nth-child(2), .partner-row > *:nth-child(2), .stat-row > *:nth-child(2), .hero-stats > *:nth-child(2) { transition-delay: 0.08s; }
.card-grid > *:nth-child(3), .category-grid > *:nth-child(3), .portfolio-grid > *:nth-child(3),
.team-grid > *:nth-child(3), .partner-row > *:nth-child(3), .stat-row > *:nth-child(3), .hero-stats > *:nth-child(3) { transition-delay: 0.16s; }
.card-grid > *:nth-child(4), .category-grid > *:nth-child(4), .portfolio-grid > *:nth-child(4),
.team-grid > *:nth-child(4), .partner-row > *:nth-child(4), .stat-row > *:nth-child(4), .hero-stats > *:nth-child(4) { transition-delay: 0.24s; }
.portfolio-grid > *:nth-child(5) { transition-delay: 0.32s; }
.portfolio-grid > *:nth-child(6) { transition-delay: 0.4s; }
.portfolio-grid > *:nth-child(7) { transition-delay: 0.48s; }
.portfolio-grid > *:nth-child(8) { transition-delay: 0.56s; }

/* ---------- Image lightbox ---------- */
.lightbox-trigger { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 1000;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay .lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  display: block;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.lightbox-overlay.active .lightbox-img { opacity: 1; transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 28px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); transform: rotate(90deg); }
.lightbox-close svg { width: 20px; height: 20px; }
body.lightbox-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 76px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid .logo { color: var(--white); }
.footer-grid p { color: rgba(255,255,255,0.5); font-size: 0.84rem; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.social-link:hover { background: var(--blue-bright); border-color: var(--blue-bright); color: var(--white); transform: translateY(-2px); }
.social-link svg { width: 16px; height: 16px; display: block; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .portfolio-grid .p-item.wide { grid-column: span 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-card { grid-template-columns: 1fr; }
  .brand-card .brand-mark { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 12px; }
  .partner-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .topbar-inner { display: none; }
  .topbar-mobile-cta { display: block; }
  .nav-wrap.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  section { padding: 84px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .portfolio-grid .p-item.wide { grid-column: span 1; }
  .portfolio-grid .p-item.tall { grid-row: span 1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; text-align: center; }
  .partner-row { grid-template-columns: 1fr 1fr; }
  .hero { padding: 130px 0 110px; }
  .hero::after { height: 56px; }
  .page-hero { padding: 110px 0 90px; }
  .page-hero::after { height: 48px; }
  .topbar-inner { justify-content: center; text-align: center; font-size: 0.74rem; }
  .topbar-inner .hide-mobile { display: none; }
  .quote-block { padding: 72px 0; }
  .quote-mark { font-size: 5rem; }
  .container { padding: 0 20px; }
  .nav-wrap { padding: 14px 20px; }
  .topbar-mobile-cta { padding: 10px 20px; }
  .swatch-block { padding: 36px 24px; }
  .cta-band { padding: 40px 28px; }
}
