﻿/* =============================================
   KLINSTA â€” GLOBAL STYLESHEET
   Demo by equallyoked. | equallyoked.co.za
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:    #0B1120;
  --navy-2:  #111827;
  --navy-3:  #1a2535;
  --blue:    #1560BD;
  --blue-l:  #2979FF;
  --gold:    #D4A017;
  --gold-l:  #F5C400;
  --white:   #FFFFFF;
  --off:     #F4F6FB;
  --grey:    #6B7280;
  --grey-l:  #9CA3AF;
  --line:    #E5E7EB;
  --red:     #DC2626;
  --green:   #16A34A;
  --font-h:  'Bebas Neue', sans-serif;
  --font-b:  'DM Sans', sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow:  0 4px 24px rgba(11,17,32,0.10);
  --shadow-lg: 0 8px 48px rgba(11,17,32,0.18);
  --radius:  12px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-b); border: none; background: none; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION SPACING ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-l);
  margin-bottom: 14px;
  display: block;
}
.eyebrow.gold { color: var(--gold-l); }

h1, h2, h3 { font-family: var(--font-h); letter-spacing: 0.03em; line-height: 1; }
h1 { font-size: clamp(52px, 7vw, 96px); color: var(--white); }
h2 { font-size: clamp(36px, 5vw, 60px); color: var(--navy); }
h3 { font-size: clamp(22px, 3vw, 32px); color: var(--navy); }

.lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--grey);
  max-width: 680px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--blue-l);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(41,121,255,0.35);
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(41,121,255,0.45);
}
.btn-gold {
  background: var(--gold-l);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245,196,0,0.35);
}
.btn-gold:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,196,0,0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-outline-dark {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}
.btn svg { width: 18px; height: 18px; }

/* ---- SECTION HEADERS ---- */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin: 0 auto; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
  padding: 12px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  min-width: 240px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.dropdown a:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.dropdown a svg { width: 16px; height: 16px; opacity: 0.7; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.mobile-nav .mobile-sub-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--grey-l);
  padding: 16px 16px 8px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0B1120 0%, #1a2535 40%, #0d1b2e 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(41,121,255,0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(212,160,23,0.08) 0%, transparent 50%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
}
.hero-content {}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(41,121,255,0.15);
  border: 1px solid rgba(41,121,255,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #6aadff;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tagline .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6aadff;
  animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { color: var(--gold-l); }
.hero .lead { color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat .stat-num {
  font-family: var(--font-h);
  font-size: 38px;
  color: var(--white);
  line-height: 1;
}
.hero-stat .stat-num span { color: var(--gold-l); }
.hero-stat .stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.08em;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
}
.hero-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(41,121,255,0.4);
  transform: translateX(4px);
}
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-card-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollAnim 1.5s ease infinite;
}
@keyframes scrollAnim {
  0%,100%{transform:scaleY(1);opacity:1}
  50%{transform:scaleY(0.6);opacity:0.4}
}

/* ---- CLIENT LOGOS STRIP ---- */
.clients-strip {
  background: var(--off);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clients-strip-label {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-l);
  margin-bottom: 28px;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.client-logo-item {
  font-family: var(--font-h);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--grey-l);
  transition: var(--transition);
  opacity: 0.6;
}
.client-logo-item:hover { opacity: 1; color: var(--navy); }

/* ---- HOW WE WORK ---- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-l);
  transform: scaleX(0);
  transition: var(--transition);
}
.how-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.how-card:hover::before { transform: scaleX(1); }
.how-icon {
  width: 52px; height: 52px;
  background: var(--off);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.how-icon svg { width: 26px; height: 26px; color: var(--blue-l); }
.how-card h3 { font-size: 20px; margin-bottom: 12px; }
.how-card p { font-size: 13.5px; color: var(--grey); line-height: 1.7; }
.how-num {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-h);
  font-size: 52px;
  color: var(--off);
  line-height: 1;
  pointer-events: none;
}

/* ---- DIVISIONS ---- */
.divisions-bg { background: var(--navy); }
.divisions-bg h2, .divisions-bg h3 { color: var(--white); }
.divisions-bg .lead { color: rgba(255,255,255,0.6); }
.divisions-bg .eyebrow { color: var(--gold-l); }
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.division-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.division-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41,121,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.division-card:hover {
  border-color: rgba(41,121,255,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.division-card:hover::after { opacity: 1; }
.division-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.division-icon svg { width: 28px; height: 28px; color: var(--white); }
.division-card h3 { font-size: 26px; color: var(--white); }
.division-card p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.7; flex: 1; }
.division-card .div-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-l);
  transition: var(--transition);
  margin-top: 4px;
}
.division-card:hover .div-link { gap: 14px; }

/* ---- PROJECTS / SOCIAL PROOF ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project-card .project-client {
  font-family: var(--font-h);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}
.project-card .project-div {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-l);
  margin-bottom: 14px;
}
.project-card p { font-size: 13px; color: var(--grey); line-height: 1.7; }

/* ---- STATS SECTION ---- */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-item {
  background: var(--navy);
  padding: 40px 32px;
  text-align: center;
}
.stat-item .stat-big {
  font-family: var(--font-h);
  font-size: 60px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-big span { color: var(--gold-l); }
.stat-item .stat-desc { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }

/* ---- CERTIFICATIONS ---- */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cert-badge {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.cert-badge:hover { border-color: var(--blue-l); box-shadow: var(--shadow); }
.cert-badge svg { width: 24px; height: 24px; color: var(--blue-l); }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-l) 0%, var(--blue) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(41,121,255,0.12) 0%, transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,0.6); }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 20px;
}

/* ---- SERVICE DETAIL CARDS ---- */
.service-section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.service-section:last-child { border-bottom: none; }
.service-section-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--blue-l);
}
.service-section-header h2 { font-size: 38px; }
.service-section-header p { font-size: 15px; color: var(--grey); margin-top: 10px; max-width: 700px; }
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--off);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: var(--line);
}
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--grey); line-height: 1.65; }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.partner-logos-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--grey-l);
  text-transform: uppercase;
  width: 100%;
}
.partner-badge {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
  letter-spacing: 0.06em;
  transition: var(--transition);
}
.partner-badge:hover { border-color: var(--navy); color: var(--navy); }

/* ---- ABOUT PAGE ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-l), var(--gold-l));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue-l);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--blue-l);
}
.timeline-year {
  font-family: var(--font-h);
  font-size: 24px;
  color: var(--blue-l);
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 20px; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--grey); line-height: 1.7; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--off);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-h);
  font-size: 32px;
  color: var(--gold-l);
}
.team-card h3 { font-size: 22px; margin-bottom: 4px; }
.team-card .team-role { font-size: 12px; font-weight: 700; color: var(--blue-l); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--grey); line-height: 1.65; }

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 28px; margin-bottom: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail svg {
  width: 20px; height: 20px;
  color: var(--blue-l);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail .cd-label { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--grey-l); text-transform: uppercase; margin-bottom: 4px; }
.contact-detail .cd-val { font-size: 15px; font-weight: 600; color: var(--navy); }
.map-embed {
  width: 100%;
  height: 220px;
  background: var(--off);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--grey);
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 28px; margin-bottom: 6px; }
.contact-form-wrap .form-sub { font-size: 14px; color: var(--grey); margin-bottom: 28px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-l);
  box-shadow: 0 0 0 3px rgba(41,121,255,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-assurance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--grey);
}
.form-assurance svg { width: 14px; height: 14px; color: var(--green); }

/* ---- PROJECTS PAGE ---- */
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.project-detail-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pdc-top {
  background: var(--navy);
  padding: 28px 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.pdc-logo-wrap {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-h);
  font-size: 20px;
  color: var(--gold-l);
}
.pdc-top h3 { font-size: 22px; color: var(--white); }
.pdc-top .pdc-div { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-top: 4px; }
.pdc-body { padding: 24px 28px; }
.pdc-body p { font-size: 13.5px; color: var(--grey); line-height: 1.75; }
.pdc-year { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--blue-l); text-transform: uppercase; margin-top: 12px; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  background: #25D366;
  color: var(--white);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: floatPulse 3s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
@keyframes floatPulse {
  0%,100%{box-shadow: 0 4px 20px rgba(37,211,102,0.5)}
  50%{box-shadow: 0 4px 32px rgba(37,211,102,0.8)}
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---- FOOTER ---- */
.footer {
  background: #070d18;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,0.5); max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--gold-l); font-weight: 700; }
.footer-bottom a:hover { color: var(--gold); }
.footer-contact-strip {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.footer-contact-strip a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-contact-strip a:hover { color: var(--white); }
.footer-contact-strip svg { width: 14px; height: 14px; color: var(--blue-l); }

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ---- ABOUT PAGE â€” STORY GRID (replaces inline style) ---- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* ---- PAGE-HERO INLINE CTA BLOCK ---- */
.page-hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}



/* ================================================================
   RESPONSIVE — COMPREHENSIVE BREAKPOINT SYSTEM
   Desktop styles above are untouched by these rules.
   Every page, every section is covered across all breakpoints.
   ================================================================ */

/* ======================================================
   1200px — Wide desktop safety valve
   ====================================================== */
@media (max-width: 1200px) {
  .hero .container         { gap: 40px; }
  .footer-grid             { gap: 32px; }
}

/* ======================================================
   1024px — Tablet landscape / small desktop
   ====================================================== */
@media (max-width: 1024px) {
  /* --- Section spacing --- */
  .section                 { padding: 80px 0; }
  .section-sm              { padding: 56px 0; }

  /* --- Grids: 2-col --- */
  .how-grid                { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .divisions-grid          { grid-template-columns: 1fr 1fr; gap: 20px; }
  .projects-grid           { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid              { grid-template-columns: repeat(2, 1fr); }
  .footer-grid             { grid-template-columns: 1fr 1fr; gap: 36px; }
  .service-cards           { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-grid            { grid-template-columns: 1fr; gap: 44px; }
  .projects-page-grid      { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* --- Hero: hide visual panel, content full width --- */
  .hero .container         { grid-template-columns: 1fr; gap: 0; padding-top: 60px; }
  .hero-visual             { display: none; }
  .hero-content            { padding-bottom: 72px; }

  /* --- About & inner page grids --- */
  .about-story-grid        { grid-template-columns: 1fr; gap: 48px; }
  .page-hero-grid          { grid-template-columns: 1fr; gap: 48px; }
  .team-grid               { grid-template-columns: repeat(3, 1fr); }

  /* --- Typography scale down --- */
  h2                       { font-size: clamp(32px, 4vw, 52px); }
  h3                       { font-size: clamp(20px, 2.8vw, 30px); }
}

/* ======================================================
   768px — Mobile phones and portrait tablets
   ====================================================== */
@media (max-width: 768px) {

  /* --- Base --- */
  html                     { overflow-x: hidden; }
  body                     { overflow-x: hidden; }
  .container               { padding: 0 20px; }
  .section                 { padding: 64px 0; }
  .section-sm              { padding: 48px 0; }
  .section-header          { margin-bottom: 36px; }
  .section-header.centered { text-align: center; }
  .section-header.centered .lead { margin: 0 auto; }

  /* --- Typography --- */
  h1                       { font-size: clamp(40px, 10vw, 62px); line-height: 0.95; }
  h2                       { font-size: clamp(28px, 7.5vw, 44px); line-height: 1.05; }
  h3                       { font-size: clamp(18px, 4.5vw, 26px); line-height: 1.1; }
  .lead                    { font-size: 15px; line-height: 1.7; max-width: 100% !important; }
  .eyebrow                 { font-size: 10px; letter-spacing: 0.18em; }
  p                        { font-size: 14px; }

  /* --- Buttons --- */
  .btn                     { padding: 12px 20px; font-size: 12px; gap: 8px; }
  .btn svg                 { width: 16px; height: 16px; }

  /* --- Navbar --- */
  .nav-links               { display: none !important; }
  .nav-cta                 { display: none !important; }
  .nav-hamburger           { display: flex !important; }
  .navbar                  { padding: 14px 0; }
  .navbar.scrolled         { padding: 10px 0; }
  .nav-logo img            { height: 34px; }

  /* --- Hero (homepage) --- */
  .hero                    { min-height: auto; padding: 96px 0 56px; align-items: flex-start; }
  .hero .container         { grid-template-columns: 1fr; padding-top: 20px; gap: 0; }
  .hero-visual             { display: none !important; }
  .hero-content            { padding-bottom: 0; }
  .hero h1                 { font-size: clamp(40px, 10.5vw, 64px); margin-bottom: 16px; }
  .hero .lead              { font-size: 15px; margin-bottom: 28px; }
  .hero-tagline            { font-size: 10px; padding: 5px 14px; margin-bottom: 18px; }
  .hero-tagline .dot       { width: 5px; height: 5px; }
  .hero-actions            { flex-direction: column; gap: 10px; }
  .hero-actions .btn       { width: 100%; justify-content: center; }
  .hero-stats              { flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 24px; }
  .hero-stat               { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .hero-stat .stat-num     { font-size: 30px; }
  .hero-stat .stat-label   { font-size: 10px; }
  .hero-scroll             { display: none; }

  /* --- Client logos strip --- */
  .clients-strip           { padding: 24px 0; }
  .clients-strip-label     { margin-bottom: 16px; font-size: 9px; }
  .clients-logos           { gap: 14px 24px; justify-content: center; }
  .client-logo-item        { font-size: 13px; letter-spacing: 0.06em; }

  /* --- How we work --- */
  .how-grid                { grid-template-columns: 1fr; gap: 14px; }
  .how-card                { padding: 22px 18px; }
  .how-card h3             { font-size: 18px; }
  .how-card p              { font-size: 13px; }
  .how-num                 { font-size: 38px; top: 10px; right: 12px; }
  .how-icon                { width: 44px; height: 44px; margin-bottom: 14px; }
  .how-icon svg            { width: 22px; height: 22px; }

  /* --- Divisions section --- */
  .divisions-grid          { grid-template-columns: 1fr; gap: 14px; }
  .division-card           { padding: 24px 20px; gap: 12px; }
  .division-card h3        { font-size: 22px; }
  .division-card p         { font-size: 13px; }
  .division-icon           { width: 48px; height: 48px; border-radius: 12px; }
  .division-icon svg       { width: 24px; height: 24px; }

  /* --- Stats section --- */
  .stats-section           { padding: 52px 0; }
  .stats-grid              { grid-template-columns: repeat(2, 1fr); }
  .stat-item               { padding: 28px 14px; }
  .stat-item .stat-big     { font-size: 44px; }
  .stat-item .stat-desc    { font-size: 12px; }

  /* --- Certifications --- */
  .cert-grid               { gap: 10px; justify-content: flex-start; }
  .cert-badge              { font-size: 12px; padding: 11px 14px; gap: 10px; width: 100%; box-sizing: border-box; }
  .cert-badge svg          { width: 20px; height: 20px; flex-shrink: 0; }

  /* --- Projects preview (home) --- */
  .projects-grid           { grid-template-columns: 1fr; gap: 14px; }
  .project-card            { padding: 20px 18px; }
  .project-card .project-client { font-size: 20px; }
  .project-card p          { font-size: 13px; }

  /* --- CTA band --- */
  .cta-band                { padding: 56px 0; }
  .cta-band h2             { font-size: clamp(28px, 8vw, 44px); margin-bottom: 12px; }
  .cta-band p              { font-size: 14px; margin-bottom: 28px; max-width: 100% !important; }
  .cta-band .cta-actions   { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-band .cta-actions .btn { width: 100%; justify-content: center; max-width: 100%; }

  /* --- Page hero (all inner pages) --- */
  .page-hero               { padding: 96px 0 52px; }
  .page-hero h1            { font-size: clamp(38px, 10vw, 60px); margin-bottom: 12px; }
  .page-hero .lead         { font-size: 14px; max-width: 100% !important; }
  .page-hero-grid          { grid-template-columns: 1fr; gap: 36px; }

  /* --- Service cards (division pages) --- */
  .service-cards           { grid-template-columns: 1fr; gap: 14px; }
  .service-card            { padding: 20px 18px; }
  .service-card h3         { font-size: 17px; }
  .service-card p          { font-size: 13px; }
  .partner-logos           { gap: 8px; margin-top: 20px; padding-top: 18px; }
  .partner-badge           { font-size: 11px; padding: 7px 11px; }

  /* --- About page --- */
  .about-story-grid        { grid-template-columns: 1fr; gap: 40px; }
  .team-grid               { grid-template-columns: 1fr; gap: 14px; }
  .team-card               { padding: 24px 20px; }
  .team-avatar             { width: 72px; height: 72px; font-size: 28px; }
  .team-card h3            { font-size: 20px; }
  .team-card p             { font-size: 13px; }
  .timeline                { padding-left: 24px; }
  .timeline::before        { left: 0; }
  .timeline-item           { margin-bottom: 28px; }
  .timeline-item::before   { left: -30px; width: 10px; height: 10px; }
  .timeline-year           { font-size: 22px; }
  .timeline-item h3        { font-size: 17px; }
  .timeline-item p         { font-size: 13px; }

  /* --- Projects detail page --- */
  .projects-page-grid      { grid-template-columns: 1fr; gap: 18px; }
  .pdc-top                 { padding: 20px 20px 16px; gap: 14px; }
  .pdc-logo-wrap           { width: 44px; height: 44px; font-size: 14px; border-radius: 10px; flex-shrink: 0; }
  .pdc-top h3              { font-size: 17px; }
  .pdc-top .pdc-div        { font-size: 9px; }
  .pdc-body                { padding: 16px 20px; }
  .pdc-body p              { font-size: 13px; }

  /* --- Contact page --- */
  .contact-grid            { grid-template-columns: 1fr; gap: 32px; }
  .contact-info h3         { font-size: 22px; }
  .contact-detail          { gap: 12px; margin-bottom: 18px; }
  .contact-detail .cd-val  { font-size: 14px; }
  .contact-form-wrap       { padding: 24px 18px; box-shadow: none; border-radius: 10px; }
  .contact-form-wrap h3    { font-size: 22px; }
  .contact-form-wrap .form-sub { font-size: 13px; margin-bottom: 20px; }
  .form-grid               { grid-template-columns: 1fr; gap: 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea     { font-size: 16px; padding: 11px 14px; }
  .map-embed               { height: 160px; }

  /* --- Footer --- */
  .footer                  { padding: 52px 0 0; }
  .footer-grid             { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-brand img        { height: 36px; margin-bottom: 14px; }
  .footer-brand p          { max-width: 100%; font-size: 13px; }
  .footer-contact-strip    { flex-direction: column; gap: 12px; margin-top: 16px; }
  .footer-contact-strip a  { font-size: 13px; }
  .footer-col h4           { margin-bottom: 14px; font-size: 10px; }
  .footer-col a            { font-size: 13px; padding: 4px 0; }
  .footer-bottom           { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 0; font-size: 11px; }

  /* --- WhatsApp float --- */
  .whatsapp-float          { bottom: 20px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg      { width: 25px; height: 25px; }
}
