/* ================================================
   CLERQLY MANAGEMENT CONSULTING
   Global Stylesheet — Brand-Exact Specification
   Trading name: QnQ Services & Solutions
   Tagline: "Clarity. Quality. Legally."
   ================================================ */

/* --- Brand CSS Tokens (from Master Brand Guide) --- */
:root {
  /* Primary Core Palette */
  --clerqly-navy:     #0A2240;
  --clerqly-cyan:     #00C2FF;
  --clerqly-platinum: #F4F6F9;

  /* Secondary Accent Palette */
  --clerqly-gold:     #C5A059;
  --clerqly-charcoal: #1E293B;
  --clerqly-emerald:  #0D3E26;
  --clerqly-crimson:  #991B1B;

  /* Semantic Aliases */
  --primary:      var(--clerqly-navy);
  --accent:       var(--clerqly-cyan);
  --accent-gold:  var(--clerqly-gold);
  --light:        var(--clerqly-platinum);
  --text:         var(--clerqly-charcoal);
  --white:        #FFFFFF;
  --border:       #D8DEE9;
  --navy-mid:     #0D2D52;
  --navy-deep:    #060F1E;

  /* Typography */
  --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-legal:   'Times New Roman', Times, serif;

  /* Spacing */
  --section-pad: 96px 0;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: color .2s; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-legal);
  font-weight: 700;
  line-height: 1.18;
  color: var(--primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--text); font-size: 1rem; line-height: 1.8; text-align: justify; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }
p:last-child { margin-bottom: 0; }
/* Exclude centred, hero, footer-blurb, and short-caption contexts from justify */
.hero p, .hero__subtitle, .cta-strip p,
.footer__brand p, .footer p,
.stat-item__label, .clients-strip__label,
.page-hero__subtitle, .section-intro,
.text-center p { text-align: left; }

.text-white, .text-white h1,
.text-white h2, .text-white h3,
.text-white h4, .text-white p { color: var(--white); }
.text-white p { color: rgba(255,255,255,0.78); }

/* --- Layout --- */
.container        { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container--narrow{ max-width: 860px; margin: 0 auto; padding: 0 40px; }
.section          { padding: var(--section-pad); }
.section--light   { background: var(--light); }
.section--navy    { background: var(--primary); }
.section--deep    { background: var(--navy-deep); }
.section--charcoal{ background: var(--clerqly-charcoal); }

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container, .container--narrow { padding: 0 20px; }
  .section { padding: 60px 0; }
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 34, 64, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 194, 255, 0.12);
  transition: all .3s ease;
}
.nav.scrolled {
  background: rgba(10, 34, 64, 1);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 48px;
  max-width: 1300px;
  margin: 0 auto;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo svg { height: 38px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,0.82);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }

.nav__dropdown { position: relative; }
/* Transparent bridge: extends the hover zone downward so the mouse
   doesn't fall through the gap between the link and the dropdown panel */
.nav__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
}
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--primary);
  border: 1px solid rgba(0,194,255,0.15);
  border-top: 3px solid var(--accent);
  padding: 12px 0;
  margin-top: 16px;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75) !important;
  border-bottom: none;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}
.nav__dropdown-menu a:hover { background: rgba(0,194,255,0.08); color: var(--accent) !important; }
.nav__dropdown > a::after { content: ' ▾'; font-size: 0.6rem; opacity: 0.6; }

.nav__cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  padding: 10px 22px;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  border-radius: 2px;
}
.nav__cta:hover {
  background: #00A8DC !important;
  color: var(--white) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
  border-radius: 2px;
}

@media (max-width: 1000px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 24px 32px;
    gap: 16px;
    border-top: 1px solid rgba(0,194,255,0.15);
  }
  .nav__links.open { display: flex; }
  .nav__dropdown-menu {
    position: static;
    transform: none;
    min-width: auto;
    margin-top: 8px;
    border-top: none;
    display: none;
    padding-left: 16px;
  }
  .nav__dropdown.open .nav__dropdown-menu { display: block; }
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 78px;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero__bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,0.06) 0%, transparent 65%);
  top: -100px;
  right: -100px;
}
.hero__bg-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,0.05) 0%, transparent 65%);
  bottom: -50px;
  left: 10%;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 80px 40px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.hero__title {
  font-family: var(--font-legal);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__title strong {
  color: var(--clerqly-gold);
  font-weight: 700;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.85;
  font-family: var(--font-primary);
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__tagline {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-legal);
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.hero__tagline span { color: rgba(0,194,255,0.5); margin: 0 8px; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--navy-mid);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(10,34,64,0.35);
}
.btn--cyan {
  background: var(--accent);
  color: var(--primary);
}
.btn--cyan:hover {
  background: #00A8DC;
  color: var(--white);
  transform: translateY(-1px);
}
.btn--gold {
  background: var(--accent-gold);
  color: var(--white);
}
.btn--gold:hover {
  background: #A8874A;
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline-navy {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline-navy:hover {
  background: var(--primary);
  color: var(--white);
}
.btn--outline-cyan {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline-cyan:hover {
  background: var(--accent);
  color: var(--primary);
}
.btn--arrow::after { content: ' →'; }
.btn--sm { padding: 10px 22px; font-size: 0.76rem; }

/* ================================================
   SECTION LABELS & HEADERS
   ================================================ */
.label {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.label--gold { color: var(--accent-gold); }
.label--light { color: rgba(0,194,255,0.8); }

.section-header { margin-bottom: 64px; }
.section-header--center { text-align: center; }
.section-header--center .section-intro { margin: 0 auto; }
.section-title { margin-bottom: 16px; }
.section-intro {
  font-size: 1.05rem;
  max-width: 600px;
  color: #4B5E7A;
  line-height: 1.85;
}
.section-intro--light { color: rgba(255,255,255,0.7); }

.divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  margin: 20px 0 28px;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ================================================
   CARDS
   ================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover::after { transform: scaleX(1); }
.card:hover {
  box-shadow: 0 8px 40px rgba(10,34,64,0.1);
  transform: translateY(-3px);
}
.card--dark {
  background: var(--clerqly-charcoal);
  border-color: rgba(255,255,255,0.06);
}
.card--dark h3, .card--dark h4 { color: var(--white); }
.card--dark p { color: rgba(255,255,255,0.68); }
.card--navy {
  background: var(--primary);
  border-color: rgba(0,194,255,0.12);
}
.card--navy h3, .card--navy h4 { color: var(--white); }
.card--navy p { color: rgba(255,255,255,0.68); }

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(0,194,255,0.08);
  border: 1px solid rgba(0,194,255,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.card__number {
  font-family: var(--font-legal);
  font-size: 4rem;
  color: rgba(0,194,255,0.08);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap .2s;
}
.card__link:hover { gap: 14px; color: var(--accent); }
.card__link::after { content: '→'; }

/* ================================================
   PRACTICE AREA CARDS
   ================================================ */
.practice-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s ease;
  background: var(--white);
}
.practice-card:hover {
  box-shadow: 0 16px 56px rgba(10,34,64,0.12);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.practice-card__header {
  background: var(--primary);
  padding: 36px 36px 28px;
  position: relative;
  overflow: hidden;
}
.practice-card__header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(0,194,255,0.04);
  transform: translate(30%, -30%);
}
.practice-card__number {
  font-family: var(--font-legal);
  font-size: 5rem;
  color: rgba(255,255,255,0.04);
  font-weight: 700;
  line-height: 1;
  position: absolute;
  bottom: 0;
  right: 24px;
}
.practice-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,194,255,0.3);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.practice-card__title { color: var(--white); font-size: 1.35rem; }
.practice-card__body { padding: 32px 36px; }
.practice-card__body p { font-size: 0.95rem; color: #4B5E7A; margin-bottom: 20px; }
.practice-card__services { list-style: none; }
.practice-card__services li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.practice-card__services li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.practice-card__services li:last-child { border-bottom: none; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  padding: 52px 36px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
  font-family: var(--font-legal);
  font-size: 3.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item__label {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

/* ================================================
   INSIGHT CARDS
   ================================================ */
.insight-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s ease;
  background: var(--white);
}
.insight-card:hover {
  box-shadow: 0 10px 40px rgba(10,34,64,0.1);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.insight-card__top {
  height: 8px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-gold) 100%);
}
.insight-card__body { padding: 32px; }
.insight-card__category {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.insight-card__title {
  font-family: var(--font-legal);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.45;
}
.insight-card__excerpt {
  font-size: 0.92rem;
  color: #4B5E7A;
  line-height: 1.7;
}
.insight-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-primary);
  font-size: 0.76rem;
  color: #7B8FAB;
}
.insight-card__read-more {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insight-card__read-more::after { content: ' →'; }

/* ================================================
   CASE STUDY CARDS
   ================================================ */
.case-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s ease;
  background: var(--white);
}
.case-card:hover {
  box-shadow: 0 12px 48px rgba(10,34,64,0.1);
  transform: translateY(-3px);
}
.case-card__accent {
  height: 4px;
  background: var(--accent);
}
.case-card__header {
  background: var(--light);
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.case-card__practice {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.case-card__title {
  font-family: var(--font-legal);
  font-size: 1.15rem;
  color: var(--primary);
}
.case-card__body { padding: 28px 32px; }
.case-card__challenge,
.case-card__solution {
  font-size: 0.9rem;
  color: #4B5E7A;
  margin-bottom: 12px;
  line-height: 1.7;
}
.case-card__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.case-result {
  text-align: center;
  padding: 16px;
  background: rgba(0,194,255,0.04);
  border: 1px solid rgba(0,194,255,0.1);
}
.case-result__number {
  font-family: var(--font-legal);
  font-size: 1.8rem;
  color: var(--clerqly-emerald);
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.case-result__label {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  color: #7B8FAB;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  background: var(--navy-deep);
  padding: 164px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,0.05) 0%, transparent 65%);
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero__eyebrow {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.page-hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.page-hero__title { color: var(--white); margin-bottom: 20px; }
.page-hero__subtitle {
  color: rgba(255,255,255,0.68);
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.85;
}
.page-hero__divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  margin: 24px 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 32px;
}
.breadcrumb a { color: rgba(255,255,255,0.38); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { opacity: 0.3; }
.breadcrumb__current { color: rgba(0,194,255,0.7); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--navy-deep);
  padding: 80px 0 0;
  border-top: 1px solid rgba(0,194,255,0.1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand p {
  color: rgba(255,255,255,0.48);
  font-size: 0.88rem;
  margin-top: 20px;
  line-height: 1.8;
}
.footer__tagline {
  font-family: var(--font-legal);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}
.footer__heading {
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-family: var(--font-primary);
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer__links a:hover { color: var(--accent); }
.footer__contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-family: var(--font-primary);
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer__contact-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-family: var(--font-primary);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a {
  font-family: var(--font-primary);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
}
.footer__legal a:hover { color: var(--accent); }

.footer__built-by {
  text-align: center;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 4px;
}
.footer__built-by p {
  font-family: var(--font-primary);
  font-size: 0.70rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  letter-spacing: 0.02em;
}


/* ================================================
   FORM
   ================================================ */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,194,255,0.08);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230A2240' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-16   { gap: 16px; }
.flex-gap-24   { gap: 24px; }
.mt-8          { margin-top: 8px; }
.mt-16         { margin-top: 16px; }
.mt-24         { margin-top: 24px; }
.mt-40         { margin-top: 40px; }
.mt-48         { margin-top: 48px; }
.mb-0          { margin-bottom: 0; }
.mb-8          { margin-bottom: 8px; }
.mb-16         { margin-bottom: 16px; }
.mb-24         { margin-bottom: 24px; }
.mb-40         { margin-bottom: 40px; }
.text-center   { text-align: center; }
.text-cyan     { color: var(--accent); }
.text-gold     { color: var(--accent-gold); }
.text-navy     { color: var(--primary); }
.text-muted    { color: #7B8FAB; }
.fw-700        { font-weight: 700; }
.font-legal    { font-family: var(--font-legal); }
.w-full        { width: 100%; }

/* Cyan highlight underline */
.underline-cyan {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--accent);
  padding: 24px 36px;
  margin: 40px 0;
  background: var(--light);
}
.pull-quote p {
  font-family: var(--font-legal);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.65;
  margin: 0;
}

/* Highlight strip */
.highlight-strip {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-gold) 100%);
  height: 4px;
  width: 100%;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up    { animation: fadeUp .65s ease forwards; }
.anim-delay-1    { animation-delay: .1s; opacity: 0; }
.anim-delay-2    { animation-delay: .2s; opacity: 0; }
.anim-delay-3    { animation-delay: .3s; opacity: 0; }
.anim-delay-4    { animation-delay: .4s; opacity: 0; }

@media print {
  .nav, .hero__tagline, .btn { display: none; }
  body { color: #000; }
}

/* ================================================
   IMAGE BACKGROUNDS — photo strip & responsive
   ================================================ */

/* Image strip component (used on Case Studies page) */
.img-strip {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  display: block;
}
.img-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.85);
}
.img-strip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,34,64,0.62) 0%, rgba(10,34,64,0.15) 55%, transparent 100%);
}
.img-strip__caption {
  position: absolute;
  bottom: 36px;
  left: 60px;
  z-index: 2;
}
.img-strip__label {
  font-family: var(--font-body);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.img-strip__title {
  font-family: var(--font-legal);
  font-size: 1.55rem;
  color: #ffffff;
  line-height: 1.25;
  max-width: 480px;
}

/* Hero & page-hero responsive background behaviour */
.hero, .page-hero {
  background-attachment: scroll; /* Avoids jank on mobile */
}

@media (max-width: 1024px) {
  .img-strip { height: 260px; }
  .img-strip__caption { left: 40px; bottom: 28px; }
  .img-strip__title { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .img-strip { height: 200px; }
  .img-strip__caption { left: 24px; bottom: 20px; }
  .img-strip__label { font-size: 0.65rem; letter-spacing: 0.16em; }
  .img-strip__title { font-size: 1.05rem; max-width: 260px; }

  /* On small screens: darken overlay slightly more for legibility */
  .hero[style*="background-image"],
  .page-hero[style*="background-image"] {
    background-position: center center !important;
  }
}

@media (max-width: 480px) {
  .img-strip { height: 160px; }
  .img-strip__caption { left: 16px; bottom: 14px; }
  .img-strip__title { font-size: 0.92rem; max-width: 220px; }
}

/* ================================================
   LEGAL DOCUMENT PAGES
   ================================================ */
.legal-intro {
  background: var(--light);
  border-left: 3px solid var(--accent);
  padding: 22px 28px;
  margin-bottom: 52px;
  border-radius: 0 2px 2px 0;
}
.legal-intro p { font-size: 0.96rem; margin-bottom: 0.6rem; text-align: left; }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-effective {
  font-family: var(--font-primary);
  font-size: 0.76rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent) !important;
  margin-bottom: 14px !important;
}
.legal-section { margin-bottom: 52px; }
.legal-section h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}
.legal-section h4 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-primary);
  color: var(--primary);
}
.legal-section ul, .legal-section ol {
  padding-left: 22px;
  margin-bottom: 1rem;
}
.legal-section li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.legal-section a { color: var(--accent); }
.legal-section a:hover { text-decoration: underline; }
