/* ================================================
   TABCOL GROUPS — Professional Website
   Brand: Gold #F29E22 · Red #BF1E2E · Blue #004AAD
   Hosting: Afrihost cPanel
   ================================================ */

/* Google Fonts loaded in HTML */

:root {
  --blue:    #004AAD;
  --blue-d:  #003A8A;
  --blue-l:  #1A5FBE;
  --red:     #BF1E2E;
  --red-d:   #9C1520;
  --gold:    #F29E22;
  --gold-d:  #D4880A;
  --navy:    #0D1C2E;
  --navy-m:  #162640;
  --paper:   #F8F9FC;
  --muted:   #64748B;
  --line:    #E2E8F0;
  --white:   #FFFFFF;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.18);

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --max: 1160px;
  --r:   8px;
  --r-lg: 16px;
}

/* ─── Reset ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ─── Layout helpers ─────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ─── Eyebrow label ──────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px; display: inline-block;
}

/* ─── Buttons ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.03em; padding: 0.9rem 2rem;
  border-radius: var(--r); border: 2px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.22s ease, background 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
/* Shimmer layer on all buttons */
.btn::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}
.btn:hover::after { left: 160%; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

/* Primary — solid blue */
.btn-primary {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,74,173,0.35);
}
.btn-primary:hover {
  background: var(--blue-d); border-color: var(--blue-d);
  box-shadow: 0 10px 32px rgba(0,74,173,0.45);
}

/* Gold CTA */
.btn-gold {
  background: var(--gold); color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(242,158,34,0.4);
}
.btn-gold:hover {
  background: var(--gold-d); border-color: var(--gold-d);
  box-shadow: 0 10px 32px rgba(242,158,34,0.5);
  color: var(--navy);
}

/* Outline white */
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Red */
.btn-red {
  background: var(--red); color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(191,30,46,0.35);
}
.btn-red:hover {
  background: var(--red-d); border-color: var(--red-d);
  box-shadow: 0 10px 32px rgba(191,30,46,0.45);
}

/* Dark navy */
.btn-navy {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background: var(--navy-m);
  box-shadow: var(--shadow-lg);
}

/* Pulse animation for primary CTA */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0,74,173,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(0,74,173,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,74,173,0); }
}
.btn-primary.pulse { animation: pulse-ring 2.2s cubic-bezier(0.66,0,0,1) infinite; }

/* ─── HEADER ─────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
#site-header.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.10); }

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 2rem; height: 72px;
}
.header-logo img {
  height: 50px; width: auto;
  object-fit: contain;
  display: block;
}
.main-nav {
  display: flex; align-items: center; gap: 0.3rem;
}
.main-nav a {
  font-family: var(--font-head); font-size: 0.83rem;
  font-weight: 600; letter-spacing: 0.01em;
  color: var(--navy); padding: 0.45rem 0.85rem;
  border-radius: var(--r);
  transition: color 0.18s, background 0.18s;
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.22s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 60%; }
.main-nav a.active { color: var(--blue); }
.nav-cta { margin-left: 0.5rem; padding: 0.6rem 1.4rem !important; font-size: 0.83rem !important; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  border-radius: var(--r);
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--paper); }
.nav-toggle .bar {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  margin: 5px 0;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, box-shadow 0.3s;
    border-bottom: none;
  }
  .main-nav.open {
    max-height: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--line);
  }
  .main-nav a {
    padding: 1rem 1.5rem; border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }
  .main-nav a::after { display: none; }
  .nav-cta { margin: 0.75rem 1.25rem; border-radius: var(--r) !important; }
  .header-inner { padding-right: 0.5rem; }
}

/* ─── HERO ───────────────────────────── */
#hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0D2444 50%, #102040 100%);
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}

/* Animated background pattern */
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,74,173,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(242,158,34,0.15) 0%, transparent 45%),
    radial-gradient(circle at 60% 20%, rgba(191,30,46,0.12) 0%, transparent 40%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Diagonal stripes referencing the logo chevrons */
.hero-stripes {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; pointer-events: none; overflow: hidden;
}
.hero-stripes::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; background: var(--white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-stripes::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--red) 50%, var(--blue) 100%);
  clip-path: polygon(0 40%, 100% 0%, 100% 25%, 0 65%);
  opacity: 0.85;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: 5rem clamp(1.25rem,4vw,2.5rem) 9rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.hero-content {}
.hero-logo-wrap {
  margin-bottom: 2rem;
  animation: fade-up 0.7s ease both;
}
.hero-logo-wrap img { height: 100px; width: auto; }

.hero-content h1 {
  color: var(--white); font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 1.25rem;
  animation: fade-up 0.7s 0.1s ease both;
}
.hero-content h1 span {
  color: var(--gold);
  position: relative; display: inline-block;
}
.hero-content h1 span::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: underline-in 0.6s 0.9s ease forwards;
}
@keyframes underline-in { to { transform: scaleX(1); } }

.hero-content p {
  color: rgba(255,255,255,0.78); font-size: 1.1rem;
  line-height: 1.7; max-width: 46ch;
  margin-bottom: 2.2rem;
  animation: fade-up 0.7s 0.2s ease both;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fade-up 0.7s 0.3s ease both;
}

/* Hero visual panel */
.hero-visual {
  animation: fade-in 1s 0.4s ease both;
}
.hero-card-wrap {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  padding: 2.5rem 2rem;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.1);
  border-radius: var(--r); overflow: hidden;
  margin-bottom: 1.5rem;
}
.stat-box {
  background: rgba(255,255,255,0.04);
  padding: 1.5rem 1.25rem; text-align: center;
  transition: background 0.2s;
}
.stat-box:hover { background: rgba(255,255,255,0.08); }
.stat-box .num {
  font-family: var(--font-head); font-size: 2.2rem;
  font-weight: 800; color: var(--gold); line-height: 1;
  display: block;
}
.stat-box .lbl {
  font-family: var(--font-head); font-size: 0.68rem;
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  display: block; margin-top: 0.35rem;
}
.cert-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
}
.cert-badge {
  font-family: var(--font-head); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cert-badge b { color: var(--gold); }
.cert-badge:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(242,158,34,0.1);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 8rem; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-content p { max-width: 100%; }
}

/* ─── CREDENTIALS TICKER ─────────────── */
.ticker-wrap {
  background: var(--navy);
  overflow: hidden;
  padding: 0.85rem 0;
  border-top: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.ticker-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--blue), var(--gold));
}
.ticker-track {
  display: flex; gap: 3.5rem;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head); font-size: 0.76rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); white-space: nowrap;
}
.ticker-track span b { color: var(--gold); }
.ticker-track span::after {
  content: '·'; margin-left: 3.5rem; color: rgba(255,255,255,0.2);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTIONS ───────────────────────── */
section { padding: 5.5rem 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy); }
.section-dark * { color: inherit; }

.section-head { margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-top: 0.3rem; margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
.section-head.centered { text-align: center; }
.section-head.centered p { margin-left: auto; margin-right: auto; }

/* ─── INTRO / WHO WE ARE ─────────────── */
#about .split-img {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4/3;
  position: relative;
}
.about-graphic {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.about-graphic img {
  height: 180px; width: auto;
  filter: brightness(0) invert(1) opacity(0.12);
  position: absolute;
}
.about-stat-pile {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.08); border-radius: var(--r);
  overflow: hidden; width: 100%;
}
.ap-item {
  background: rgba(13,28,46,0.95); padding: 2rem 1.5rem; text-align: center;
}
.ap-item .n {
  font-family: var(--font-head); font-size: 2.4rem;
  font-weight: 800; color: var(--gold); line-height: 1; display: block;
}
.ap-item .l {
  font-family: var(--font-head); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.35rem; display: block;
}
#about .section-text p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.25rem; }
#about .section-text p:last-child { margin-bottom: 0; }

/* ─── SERVICE CARDS ──────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  position: relative; overflow: hidden;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  opacity: 0; transition: opacity 0.25s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,74,173,0.1), rgba(0,74,173,0.06));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  transition: background 0.25s, transform 0.25s;
}
.service-card:hover .card-icon {
  background: linear-gradient(135deg, rgba(0,74,173,0.18), rgba(242,158,34,0.12));
  transform: scale(1.08);
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  color: var(--blue); margin-top: 1.2rem;
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.6rem; color: var(--blue-d); }

/* ─── GOALS / PILLARS ────────────────── */
.pillars-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.25rem; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }

.pillar {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg); padding: 1.75rem 1.25rem;
  text-align: center;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.pillar:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(242,158,34,0.35);
  transform: translateY(-4px);
}
.pillar-icon { font-size: 2rem; display: block; margin-bottom: 0.8rem; }
.pillar h4 { color: var(--white); font-size: 0.92rem; font-weight: 700; margin-bottom: 0.45rem; }
.pillar p { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* ─── CEO QUOTE ──────────────────────── */
#ceo { position: relative; }
.ceo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
@media (max-width: 860px) { .ceo-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.ceo-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-m) 100%);
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ceo-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(242,158,34,0.2) 0%, transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(0,74,173,0.2) 0%, transparent 50%);
}
.ceo-monogram {
  position: relative; z-index: 1;
  font-family: var(--font-head); font-size: 5rem;
  font-weight: 800; color: var(--gold);
  text-shadow: 0 4px 24px rgba(242,158,34,0.5);
}
.ceo-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(242,158,34,0.2);
}
.ceo-ring:nth-child(1) { width: 180px; height: 180px; }
.ceo-ring:nth-child(2) { width: 240px; height: 240px; animation: spin-slow 20s linear infinite; border-style: dashed; }
.ceo-ring:nth-child(3) { width: 300px; height: 300px; animation: spin-slow 30s linear infinite reverse; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

blockquote {
  margin: 0 0 1.5rem; padding: 0;
  font-size: 1.25rem; line-height: 1.65;
  color: var(--navy); font-family: var(--font-body);
  border-left: 4px solid var(--gold); padding-left: 1.5rem;
  font-style: italic;
}
.quote-author { font-family: var(--font-head); font-weight: 700; color: var(--blue); }
.quote-author small { display: block; font-weight: 500; font-size: 0.82rem; color: var(--muted); margin-top: 0.15rem; }

/* ─── TEAM CARDS ─────────────────────── */
.team-card {
  text-align: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem 1.5rem;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  margin: 0 auto 1.25rem; overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.8rem;
  font-weight: 800; color: var(--white);
  box-shadow: 0 4px 16px rgba(0,74,173,0.3);
  position: relative;
}
.team-avatar::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red), var(--blue));
  z-index: -1;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.team-card .role {
  font-family: var(--font-head); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue);
}

/* ─── COMPLIANCE BADGES ──────────────── */
.compliance-grid {
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.comp-badge {
  display: flex; align-items: center; gap: 0.65rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0.85rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}
.comp-badge:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,74,173,0.12);
  transform: translateY(-2px);
}
.comp-badge .cb-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.comp-badge .cb-text .name {
  font-family: var(--font-head); font-size: 0.82rem;
  font-weight: 700; color: var(--navy); display: block;
}
.comp-badge .cb-text .desc {
  font-size: 0.74rem; color: var(--muted); display: block;
}

/* ─── CTA BANNER ─────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%);
  padding: 4rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,0.06);
}
.cta-banner .orb-1 { width: 300px; height: 300px; top: -100px; left: -60px; }
.cta-banner .orb-2 { width: 200px; height: 200px; bottom: -60px; right: 10%; }
.cta-banner .wrap { position: relative; z-index: 1; }
.cta-banner h2 {
  color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────── */
footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 60px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 26ch; }
footer h4 {
  font-family: var(--font-head); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 1.1rem;
}
footer ul li { margin-bottom: 0.6rem; }
footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.15s; }
footer ul a:hover { color: var(--gold); }
footer ul p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-bottom {
  padding-top: 2rem; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom span { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }

/* ─── WHATSAPP FLOAT ─────────────────── */
#wa-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  cursor: pointer; text-decoration: none;
  animation: wa-pop 0.6s 1.5s cubic-bezier(.34,1.56,.64,1) both;
}
#wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,0.65);
}
#wa-btn svg { width: 32px; height: 32px; fill: white; }
/* Pulse ring on WhatsApp */
#wa-btn::before, #wa-btn::after {
  content: '';
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: wa-ring 2.5s ease-out infinite;
}
#wa-btn::after { animation-delay: 1.25s; }
@keyframes wa-ring {
  0%   { width: 60px; height: 60px; opacity: 0.8; }
  100% { width: 110px; height: 110px; opacity: 0; }
}
@keyframes wa-pop {
  from { transform: scale(0) rotate(-30deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.wa-tooltip {
  position: absolute; right: 72px; top: 50%;
  transform: translateY(-50%);
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 0.9rem; border-radius: 100px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: var(--shadow-md);
}
.wa-tooltip::after {
  content: '';
  position: absolute; top: 50%; right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy);
  border-right: none;
}
#wa-btn:hover .wa-tooltip { opacity: 1; }

/* ─── PAGE HERO (inner pages) ─────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-m));
  padding: 4.5rem 0 5.5rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero-alt::after { background: var(--paper); }
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 {
  color: var(--white) !important; font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem;
  overflow-wrap: break-word; max-width: 100%;
}
@media (max-width: 600px) { .page-hero h1 { font-size: clamp(1.6rem,8vw,2.2rem); } }
.page-hero .lede { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 52ch; }

/* ─── ANIMATIONS ─────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-on-scroll.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ─── UTILITY ────────────────────────── */
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* Services page specifics */
.svc-section { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.svc-section:last-child { border-bottom: none; }
.svc-num { font-family: var(--font-head); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.3rem; }
.svc-section h2 { font-size: clamp(1.4rem,3vw,1.9rem); margin-bottom: 0.75rem; }
.svc-section > p { color: var(--muted); font-size: 1rem; max-width: 64ch; margin-bottom: 2rem; }
.sub-block { margin-bottom: 2rem; }
.sub-block h3 { font-size: 0.84rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--blue); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.sub-block h3::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.sub-block ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
@media (max-width:600px) { .sub-block ul { grid-template-columns: 1fr; } }
.sub-block li { font-size: 0.92rem; color: var(--muted); padding-left: 1rem; position: relative; line-height: 1.55; }
.sub-block li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: start; }
@media (max-width:900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-lbl { font-family: var(--font-head); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 0.45rem; }
.info-val { font-size: 0.96rem; color: var(--navy); }
.info-val a { color: var(--navy); transition: color 0.15s; }
.info-val a:hover { color: var(--blue); }
.info-group { margin-bottom: 1.75rem; }
.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.form-wrap h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }
form.cf { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width:560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--font-head); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.42rem; }
input, select, textarea {
  width: 100%; padding: 0.8rem 1rem; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--navy); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r); transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,74,173,0.12); background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }
.map-box { margin-top: 1.5rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 260px; border: 0; display: block; }
