/* =====================================================
   MA Compliance — Brand Styles
   Palette derived from the MA Compliance logo:
   - Teal:      #009999  (primary brand color — from the logo)
   - Teal dark: #007272
   - Cyan:      #00C2FF  (secondary accent)
   - Mint:      #00FFD1
   - Ink:       #0A0E27 / #1A1A2E
   ===================================================== */

:root {
  --teal: #009999;
  --teal-dark: #007272;
  --teal-light: #00C6C6;
  /* --purple retained as an alias for backward-compat with existing rules */
  --purple: #009999;
  --cyan: #00C2FF;
  --mint: #00FFD1;
  --ink-900: #06081C;
  --ink-800: #0A0E27;
  --ink-700: #14182F;
  --ink-600: #1A1F3A;
  --ink-500: #232A47;
  --ink-300: #4A5076;
  --slate-200: #E6E9F2;
  --slate-100: #F4F6FB;
  --white: #FFFFFF;

  --grad-brand: linear-gradient(135deg, #009999 0%, #00C2FF 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(0,153,153,0.15) 0%, rgba(0,194,255,0.15) 100%);
  --grad-mint: linear-gradient(135deg, #00C2FF 0%, #00FFD1 100%);

  --shadow-sm: 0 4px 14px rgba(10, 14, 39, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 14, 39, 0.10);
  --shadow-lg: 0 24px 50px rgba(10, 14, 39, 0.18);
  --shadow-glow: 0 0 60px rgba(0, 153, 153, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== UTILITIES ===== */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
  position: relative;
  padding-left: 32px;
}
.kicker::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 2px;
  background: var(--grad-brand);
  transform: translateY(-50%);
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}
.lede {
  font-size: 1.12rem;
  color: var(--ink-300);
  max-width: 720px;
  margin-top: 18px;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 153, 153, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 153, 153, 0.5); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--cyan); color: var(--cyan); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink-900); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.95rem; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 153, 153, 0.06);
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.brand-mark { width: 40px; height: 44px; }

/* New MA Compliance horizontal logo (aspect ratio ~1.58:1) */
.brand--logo-only { gap: 0; }
.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.brand--logo-only:hover .brand-logo { transform: translateY(-1px); }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}
.brand-line-1 { color: var(--ink-900); }
.brand-line-2 {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 3px;
}
.brand-text--single { line-height: 1.1; }
.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.brand-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--purple);
  margin-top: 4px;
}

.primary-nav { flex: 1; }
.primary-nav ul {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.primary-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 8px;
  transition: all var(--transition);
}
.primary-nav a:hover {
  color: var(--purple);
  background: var(--grad-brand-soft);
}
.has-menu { position: relative; }
.caret { font-size: 0.7rem; opacity: 0.6; }
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  min-width: 480px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
}
.has-menu:hover .mega-menu,
.has-menu:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 12px;
}
.mega-menu a {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--ink-700);
  display: block;
}
.mega-menu a:hover { color: var(--purple); background: transparent; }

.nav-cta { padding: 11px 22px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 50%, var(--ink-700) 100%);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 153, 153, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: var(--purple);
  top: -150px; left: -150px;
  animation: float 14s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  background: var(--cyan);
  bottom: -200px; right: -200px;
  animation: float 16s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -40px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero-h1-1 { color: var(--white); }
.hero-h1-2 { color: rgba(255,255,255,0.85); }
.hero-h1-3 { background: var(--grad-mint); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-mini-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-mini-stats strong {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad-mint);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-mini-stats span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hex-stack {
  position: relative;
  width: 380px; height: 380px;
}
.hex {
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}
.hex-a { opacity: 0.12; transform: scale(1.1); animation: pulse 6s ease-in-out infinite; }
.hex-b { opacity: 0.22; transform: scale(0.92); animation: pulse 6s ease-in-out infinite 1s; }
.hex-c {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0, 194, 255, 0.4);
  transform: scale(0.78);
}
.hex-c::before { content: ''; }
.ring {
  position: absolute; inset: 60px;
  border: 2px dashed rgba(0, 255, 209, 0.25);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}
.hex-logo {
  position: absolute;
  top: 50%; left: 50%;
  width: 130px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 30px rgba(0, 194, 255, 0.5));
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.05); opacity: 0.4; }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 4px; height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scroll-down 1.6s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 18px 0;
  border-top: 1px solid rgba(0, 153, 153, 0.18);
  border-bottom: 1px solid rgba(0, 194, 255, 0.18);
}
.trust-line { text-align: center; font-size: 0.92rem; letter-spacing: 0.04em; }
.trust-line strong { color: var(--cyan); font-weight: 700; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 800px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { margin-bottom: 12px; }

/* ===== ABOUT / STATS ===== */
.about { background: var(--slate-100); }

/* Mission quote block */
.mission-quote {
  background: linear-gradient(135deg, #06081C 0%, #14182F 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 56px;
  margin: 0 auto 50px;
  max-width: 960px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 194, 255, 0.15);
}
.mission-quote::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.mission-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.mission-quote blockquote {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.45;
  font-style: italic;
  color: var(--white);
  margin: 0 auto 22px;
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.mission-quote blockquote::before {
  content: '\201C';
  color: var(--teal-light);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 6px;
  font-style: normal;
}
.mission-quote blockquote::after {
  content: '\201D';
  color: var(--teal-light);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.35em;
  margin-left: 4px;
  font-style: normal;
}
.mission-quote figcaption {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .mission-quote { padding: 32px 24px; }
  .mission-quote blockquote { font-size: 1.15rem; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card:hover::before { opacity: 1; }
.stat-card.big { grid-column: span 2; }
.stat-card .num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card.big .num { font-size: 3.4rem; }
.stat-card .lbl {
  font-size: 0.92rem;
  color: var(--ink-300);
  font-weight: 500;
}
.grad-1 { background: linear-gradient(135deg, #00C2FF, #00FFD1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-2 { background: linear-gradient(135deg, #FF4081, #FF6B9D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-3 { background: linear-gradient(135deg, #009999, #00C6C6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-4 { background: linear-gradient(135deg, #1A1A2E, #4A5076); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-5 { background: linear-gradient(135deg, #FFB800, #FFD53A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-6 { background: linear-gradient(135deg, #FF6B35, #FF8B53); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-7 { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-8 { background: linear-gradient(135deg, #00FFD1, #00C2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== FOUNDATION ===== */
.foundation { background: var(--white); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  padding: 44px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 153, 153, 0.03), rgba(0, 194, 255, 0.03));
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0, 153, 153, 0.2); }
.pillar-num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.pillar h3 { margin-bottom: 18px; font-size: 1.6rem; }
.pillar p { color: var(--ink-300); font-size: 0.96rem; line-height: 1.75; }
.pillar-dark {
  background: linear-gradient(160deg, var(--ink-900), var(--ink-700));
  border: 1px solid rgba(0, 153, 153, 0.2);
  color: var(--white);
}
.pillar-dark h3 { color: var(--white); }
.pillar-dark p { color: rgba(255, 255, 255, 0.75); }
.pillar-light {
  background: linear-gradient(135deg, #E0F7FA, #F4FCFF);
  border: 1px solid #C2EBF1;
}

/* ===== SERVICE CATEGORIES ===== */
.services { background: var(--slate-100); }
.service-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-cat-card {
  display: block;
  padding: 44px 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-top: 4px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.service-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 4px 0 0 0;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}
.service-cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--grad-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 22px;
}
.cc-icon svg { width: 30px; height: 30px; }
.service-cat-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.service-cat-card p { color: var(--ink-300); margin-bottom: 22px; }
.cc-link {
  display: inline-block;
  font-weight: 600;
  color: var(--purple);
  font-size: 0.95rem;
}

/* ===== SERVICE DETAIL ===== */
.it-services { background: var(--white); }
.compliance-services { background: var(--slate-100); }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.svc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all var(--transition);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0, 153, 153, 0.25); }
.svc-card header { margin-bottom: 18px; }
.svc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--grad-brand-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.svc-card h3 { margin-bottom: 4px; }
.svc-card > p { color: var(--ink-300); margin-bottom: 18px; font-size: 0.95rem; }
.svc-card ul { display: flex; flex-direction: column; gap: 9px; }
.svc-card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.55;
}
.svc-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.svc-card-dark {
  background: linear-gradient(160deg, var(--ink-900), var(--ink-700));
  color: var(--white);
  border: 1px solid rgba(0, 153, 153, 0.25);
}
.svc-card-dark h3 { color: var(--white); }
.svc-card-dark > p { color: rgba(255, 255, 255, 0.75); }
.svc-card-dark ul li { color: rgba(255, 255, 255, 0.85); }
.svc-card-dark .svc-tag { color: var(--cyan); background: rgba(0, 194, 255, 0.15); }
.svc-card-dark:hover { border-color: var(--cyan); }

.svc-soft { background: var(--white); }

/* Email Service / wide card spans full row */
.svc-card-wide {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(0, 153, 153, 0.05) 0%, rgba(0, 194, 255, 0.05) 100%);
  border: 1px solid rgba(0, 153, 153, 0.2);
}
.svc-card-wide > p { font-size: 1rem; max-width: 880px; }

/* Compliance frameworks strip */
.framework-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 50px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.framework-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px 8px;
  border-right: 1px solid var(--slate-200);
}
.framework-strip li:last-child { border-right: none; }
.framework-strip strong {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
}
.framework-strip span {
  font-size: 0.74rem;
  color: var(--ink-300);
  line-height: 1.35;
}

/* ===== PARTNERS ===== */
.partners { background: var(--white); }
.partner-group { margin-bottom: 50px; }
.partner-group:last-child { margin-bottom: 0; }
.pg-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--purple);
  margin-bottom: 20px;
  text-align: center;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partner-grid--six { grid-template-columns: repeat(6, 1fr); }
.partner-grid--four {
  grid-template-columns: repeat(4, minmax(0, 220px));
  justify-content: center;
}
.partner {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all var(--transition);
}
.partner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 153, 153, 0.25);
}
/* Partners — uniform name-only styling. All partners rendered in the same
   font, size and colour. No icons, no brand colours, no background pills. */
.p-logo {
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  font-style: normal;
  letter-spacing: 0.01em;
  color: var(--ink-800);
  text-align: center;
  line-height: 1.3;
  background: none;
  padding: 0;
  border-radius: 0;
  display: block;
}
/* Remove any legacy sub-label markup */
.p-logo small { display: none; }
/* Strip every decorative pseudo-element (icons/emoji/symbols) */
.p-logo::before,
.p-logo::after,
[class^="p-"]::before,
[class^="p-"]::after,
[class*=" p-"]::before,
[class*=" p-"]::after {
  content: none;
}

/* ===== OUR VALUED CUSTOMERS ===== */
.customers { background: var(--white); }
.customer-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.cust {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--c, var(--ink-800));
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  filter: grayscale(0.15);
}
.cust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c, var(--purple));
  opacity: 0;
  transition: opacity var(--transition);
}
.cust:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  filter: grayscale(0);
  border-color: color-mix(in srgb, var(--c, var(--purple)) 35%, transparent);
}

/* ===== INDUSTRIES ===== */
.industries { background: var(--slate-100); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ind-tile {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}
.ind-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: all var(--transition);
  z-index: 0;
}
.ind-tile span { position: relative; z-index: 1; transition: color var(--transition); }
.ind-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ind-tile:hover::before { opacity: 1; }
.ind-tile:hover span { color: var(--white); }

/* ===== WHY US ===== */
.why { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 36px 30px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(0, 153, 153, 0.04), rgba(0, 194, 255, 0.04));
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0, 153, 153, 0.25); }
.why-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.why-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.why-card p { color: var(--ink-300); font-size: 0.93rem; line-height: 1.65; }

/* ===== CTA BAND ===== */
.cta-band {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 153, 153, 0.4), transparent 70%);
  filter: blur(60px);
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.4), transparent 70%);
  filter: blur(60px);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-inner h2 { color: var(--white); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.7); }

/* ===== CONTACT ===== */
.contact { background: var(--slate-100); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 14px; }
.contact-copy p { color: var(--ink-300); margin-bottom: 32px; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--slate-200);
}
.contact-info strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}
.contact-info a, .contact-info span { color: var(--ink-800); font-weight: 500; }
.contact-info a:hover { color: var(--purple); }

/* Small heading above the offices list in the left column */
.contact-offices-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* Contact card — right column of the contact section */
.contact-card {
  background: linear-gradient(135deg, #06081C 0%, #14182F 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 194, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.contact-card-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.contact-card-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.contact-card-intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

/* Tappable contact rows (email / phone / mobile) */
.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.contact-cta:hover {
  background: rgba(0, 153, 153, 0.20);
  border-color: rgba(0, 198, 198, 0.55);
  transform: translateY(-2px);
}
.contact-cta-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.contact-cta-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  word-break: break-word;
}
.contact-cta-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--teal-light);
  transition: transform var(--transition);
}
.contact-cta:hover .contact-cta-arrow {
  transform: translateY(-50%) translateX(4px);
  color: var(--white);
}

/* Email CTA — larger, teal-tinted so it reads as the primary action */
.contact-cta--email {
  margin-bottom: 14px;
  background: rgba(0, 153, 153, 0.16);
  border-color: rgba(0, 153, 153, 0.4);
  padding-right: 54px;
}
.contact-cta--email:hover {
  background: var(--teal);
  border-color: var(--teal);
}
.contact-cta--email .contact-cta-value {
  font-size: 1.35rem;
}

.contact-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 20px;
  position: relative;
  z-index: 1;
}
.contact-card-hours,
.contact-card-promise {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 6px 0;
  line-height: 1.5;
}
.contact-card-hours strong {
  color: var(--teal-light);
  font-weight: 700;
  margin-right: 6px;
}
.contact-card-promise { margin-bottom: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.f-brand p { font-size: 0.92rem; margin-top: 18px; max-width: 320px; line-height: 1.7; }

/* Social links (footer) */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 194, 255, 0.10);
  border: 1px solid rgba(0, 198, 198, 0.30);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.social-link svg {
  width: 16px;
  height: 16px;
}
.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.brand-footer .brand-line-1 { color: var(--white); }
.brand-footer .brand-name { color: var(--white); background: none; -webkit-text-fill-color: var(--white); }
.brand-footer .brand-tag { color: var(--cyan); }

/* Footer variant of the horizontal logo — needs to sit on a dark background,
   so put it on a light chip so the black "COMPLIANCE" text stays readable */
.brand-logo--footer {
  height: 60px;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
}
.brand-tag--footer {
  color: var(--cyan) !important;
  margin: 14px 0 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.site-footer h5 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--cyan); }
.foot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.foot-links a { margin: 0 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-card.big { grid-column: span 1; }
  .pillars { grid-template-columns: 1fr; }
  .svc-grid, .svc-grid-3 { grid-template-columns: 1fr; }
  .svc-card-wide { grid-column: auto; }
  .framework-strip { grid-template-columns: repeat(3, 1fr); }
  .framework-strip li:nth-child(3n) { border-right: none; }
  .partner-grid,
  .partner-grid--six,
  .partner-grid--four { grid-template-columns: repeat(3, 1fr); justify-content: stretch; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .customer-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .primary-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .primary-nav.open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    border-top: 1px solid var(--slate-200);
  }
  .primary-nav.open ul {
    flex-direction: column;
    gap: 4px;
  }
  .primary-nav.open a { padding: 12px 16px; }
  .mega-menu { display: none; }

  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-mini-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cats { grid-template-columns: 1fr; }
  .partner-grid,
  .partner-grid--six,
  .partner-grid--four { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .customer-grid { grid-template-columns: repeat(3, 1fr); }
  .framework-strip { grid-template-columns: repeat(2, 1fr); }
  .framework-strip li { border-right: none; border-bottom: 1px solid var(--slate-200); padding-bottom: 14px; }
  .framework-strip li:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 10px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bar { flex-direction: column; gap: 8px; text-align: center; }
  .contact-card { padding: 32px 24px; }
  .contact-cta-row { grid-template-columns: 1fr; }
  .contact-cta--email { padding-right: 44px; }
  .contact-cta--email .contact-cta-value { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .brand-text { font-size: 0.78rem; }
  .brand-mark { width: 32px; height: 36px; }
  .brand-logo { height: 42px; }
  .brand-logo--footer { height: 48px; }
  .hero h1 { font-size: 1.9rem; }
  .partner-grid,
  .partner-grid--six,
  .partner-grid--four { grid-template-columns: 1fr 1fr; }
  .customer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { flex: 1; justify-content: center; }
}
