/* ============================================================================
   Atmorex Technologies — Design System
   Font: Fira Sans | Theme: Black & White | BG: #FAFAFA
   ============================================================================ */

/* ── 01  DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  --c-black:        #0A0A0A;
  --c-white:        #FFFFFF;
  --c-bg:           #FAFAFA;
  --c-bg-alt:       #F2F2F2;
  --c-bg-dark:      #0A0A0A;
  --c-bg-mid:       #111111;
  --c-bg-card:      #FFFFFF;
  --c-text:         #5A5A5A;
  --c-text-dark:    #0A0A0A;
  --c-text-light:   #9A9A9A;
  --c-text-white:   #FFFFFF;
  --c-border:       #E5E5E5;
  --c-border-dark:  #1E1E1E;
  --c-border-mid:   #2E2E2E;

  --ff-sans: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.625rem;
  --fs-3xl:  2rem;
  --fs-4xl:  2.5rem;
  --fs-5xl:  clamp(2.25rem, 4vw, 3rem);
  --fs-6xl:  clamp(2.75rem, 5vw, 3.75rem);
  --fs-hero: clamp(2.5rem, 5.5vw, 4.75rem);

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-base:    1.6;
  --lh-relaxed: 1.75;

  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  --shadow-xs:   0 1px 3px rgba(0,0,0,.05);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.10);
  --shadow-xl:   0 16px 48px rgba(0,0,0,.14);

  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms ease;

  --header-h: 72px;
}

/* ── 02  RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-sans);
  color: var(--c-text-dark);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  letter-spacing: -0.025em;
}

/* ── 03  SKIP LINK ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 10000;
  padding: var(--sp-2) var(--sp-5);
  background: var(--c-black);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--sp-4); }

/* ── 04  LAYOUT ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section            { padding-block: clamp(4rem, 8vw, 7rem); }
.section--sm        { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--lg        { padding-block: clamp(5rem, 10vw, 9rem); }
.section--alt       { background-color: var(--c-bg-alt); }
.section--dark      { background-color: var(--c-bg-dark); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4   { color: var(--c-white); }
.section--dark p    { color: rgba(255,255,255,.65); }

.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* ── 05  BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.625rem;
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }

/* Primary — dark bg, white text (use on light sections) */
.btn-primary {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}
.btn-primary:hover {
  background: #1E1E1E;
  border-color: #1E1E1E;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

/* White — white bg, black text (use on dark sections) */
.btn-white {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.btn-white:hover {
  background: #F2F2F2;
  border-color: #F2F2F2;
}

/* Outline — black border, black text */
.btn-outline {
  background: transparent;
  color: var(--c-black);
  border-color: var(--c-black);
}
.btn-outline:hover {
  background: var(--c-black);
  color: var(--c-white);
}

/* Outline Light — white border, white text (dark bg) */
.btn-outline-light {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--c-white);
}

/* Ghost — no border, text only */
.btn-ghost {
  background: transparent;
  color: var(--c-black);
  border-color: transparent;
  padding-inline: var(--sp-2);
}
.btn-ghost:hover { color: #444; }

/* Sizes */
.btn-sm { padding: 0.5rem 1.125rem; font-size: var(--fs-xs); }
.btn-lg { padding: 0.9rem 2rem; font-size: var(--fs-base); }
.btn-xl { padding: 1.1rem 2.5rem; font-size: var(--fs-lg); }

/* ── 06  EYEBROW / SECTION HEADER ──────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin-bottom: var(--sp-4);
}
.section--dark .eyebrow { color: rgba(255,255,255,.45); }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header--center { text-align: center; }
.section-header--center .eyebrow { display: block; }

.section-header h2 {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-4);
  max-width: 36ch;
}
.section-header--center h2 { margin-inline: auto; }

.section-header p {
  font-size: var(--fs-lg);
  color: var(--c-text);
  max-width: 60ch;
  line-height: var(--lh-relaxed);
}
.section-header--center p { margin-inline: auto; }

/* ── 07  SITE HEADER ───────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(250,250,250,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.site-header--scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
  border-bottom-color: #D8D8D8;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.header-spacer { height: var(--header-h); }

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__wordmark {
  font-size: 1.35rem;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.04em;
  color: var(--c-black);
  line-height: 1;
}
.site-logo__dot {
  color: var(--c-black);
  font-size: 1.6rem;
  line-height: 0;
  vertical-align: middle;
}

/* SVG logo image */
.site-logo__img {
  height: 40px;
  width: auto;
  display: block;
  /* filter: brightness(0); */
}
.site-footer .site-logo__img,
.mobile-nav  .site-logo__img { filter: brightness(0) invert(1); }

/* Desktop Nav — centred between logo and CTA */
.site-nav { display: flex; justify-content: center; }

/* Right-side header actions cluster */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  justify-content: flex-end;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}
.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.nav-link:hover,
.nav-link--active {
  color: var(--c-black);
  background: var(--c-bg-alt);
}
.nav-link--active { font-weight: var(--fw-semibold); }

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.nav-item--mega:focus-within .nav-chevron,
.nav-item--mega:hover .nav-chevron,
.nav-item--mega:focus-within .nav-chevron { transform: rotate(180deg); }

/* Mega Menu — card-style 3-panel layout */
.nav-item--mega { position: static; }

.mega-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding-top: 6px;
  padding-inline: var(--container-pad);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base);
  z-index: 800;
}
.nav-item--mega:hover .mega-menu,
.nav-item--mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__panel {
  max-width: var(--container-max);
  margin-inline: auto;
  background: var(--c-white);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.07);
  display: grid;
  grid-template-columns: 210px 1fr 200px;
  overflow: hidden;
}

/* ── Left panel */
.mega-left {
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--c-border);
}
.mega-left__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}
.mega-left__rule {
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #3B82F6, #F59E0B);
  border-radius: 2px;
  margin-bottom: var(--sp-3);
}
.mega-left__desc {
  font-size: var(--fs-xs);
  color: var(--c-text);
  line-height: 1.6;
}
.mega-left__card {
  margin-top: var(--sp-4);
  background: var(--c-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-3);
}
.mega-left__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #EFF6FF;
  border-radius: var(--radius-sm);
  color: #3B82F6;
  margin-bottom: var(--sp-2);
}
.mega-left__card-icon svg { width: 15px; height: 15px; }
.mega-left__card-title {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  line-height: 1.35;
  margin-bottom: var(--sp-1);
}
.mega-left__card-desc {
  font-size: var(--fs-xs);
  color: var(--c-text);
  line-height: 1.55;
  margin-bottom: var(--sp-2);
}
.mega-left__card-link {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #3B82F6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast);
}
.mega-left__card-link:hover { gap: 8px; }

/* ── Centre services grid */
.mega-services {
  padding: var(--sp-5) var(--sp-4);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-content: start;
}
.mega-item {
  padding: var(--sp-3) var(--sp-3);
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}
.mega-item:hover { background: #F8F9FA; }
.mega-item__head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.mega-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-item__icon svg { width: 15px; height: 15px; }
.mega-item__icon--blue   { background: #EFF6FF; color: #3B82F6; }
.mega-item__icon--purple { background: #F5F3FF; color: #8B5CF6; }
.mega-item__icon--red    { background: #FFF1F2; color: #F43F5E; }
.mega-item__icon--orange { background: #FFFBEB; color: #F59E0B; }
.mega-item__icon--green  { background: #F0FDF4; color: #22C55E; }
.mega-item__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  line-height: 1.3;
}
.mega-item__links {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-2);
  display: flex;
  flex-direction: column;
}
.mega-item__links li a {
  font-size: var(--fs-xs);
  color: var(--c-text);
  padding: 2px 0;
  display: block;
  line-height: 1.5;
  transition: color var(--t-fast);
}
.mega-item__links li a:hover { color: var(--c-text-dark); }
.mega-item__all {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #3B82F6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast);
}
.mega-item__all:hover { gap: 8px; }

/* ── Right CTA panel */
.mega-right {
  background: linear-gradient(145deg, #EFF6FF 0%, #F5F3FF 100%);
  border-left: 1px solid rgba(0,0,0,0.06);
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}
.mega-right__body { position: relative; z-index: 1; }
.mega-right__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  line-height: 1.3;
  margin-bottom: var(--sp-2);
}
.mega-right__desc {
  font-size: var(--fs-xs);
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}
.mega-right__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px var(--sp-4);
  background: var(--c-black);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  transition: gap var(--t-fast);
  white-space: nowrap;
  align-self: flex-start;
}
.mega-right__cta:hover { gap: var(--sp-3); }
/* Decorative geometric shapes */
.mega-right__art {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 170px;
  height: 150px;
  pointer-events: none;
}
.mega-right__shape {
  position: absolute;
  border-radius: 12px;
}
.mega-right__shape--1 {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(59,130,246,.16));
  bottom: 28px; right: 28px;
  transform: rotate(18deg);
}
.mega-right__shape--2 {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, rgba(249,115,22,.22), rgba(239,68,68,.18));
  bottom: 12px; right: 12px;
  transform: rotate(-8deg);
}
.mega-right__shape--3 {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(59,130,246,.14));
  bottom: 48px; right: 66px;
  transform: rotate(30deg);
}

/* Header CTA */
.header-cta {
  margin-inline-start: var(--sp-4);
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-inline-start: auto;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--c-bg-alt); }
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-black);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

/* ── 08  MOBILE NAV ────────────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(340px, 90vw);
  background: var(--c-white);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-left: 1px solid var(--c-border);
}
.mobile-nav--open { transform: translateX(0); }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.mobile-nav__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.mobile-nav__close:hover { background: var(--c-bg-alt); color: var(--c-black); }

.mobile-nav__content { flex: 1; padding: var(--sp-4) 0; }
.mobile-menu { display: flex; flex-direction: column; }
.mobile-menu > li > a,
.mobile-item-header a {
  display: block;
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--c-text-dark);
  border-left: 2px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.mobile-menu > li > a:hover,
.mobile-item-header a:hover { background: var(--c-bg-alt); border-left-color: var(--c-black); }
.mobile-menu a[aria-current="page"] { border-left-color: var(--c-black); font-weight: var(--fw-semibold); }

.mobile-item--accordion { }
.mobile-item-header {
  display: flex;
  align-items: center;
}
.mobile-item-header a { flex: 1; }
.accordion-toggle {
  padding: var(--sp-3) var(--sp-5);
  color: var(--c-text);
  transition: transform var(--t-fast);
}
.accordion-toggle[aria-expanded="true"] { transform: rotate(180deg); }

.mobile-submenu { padding: var(--sp-2) 0 var(--sp-2) var(--sp-6); }
.mobile-submenu li a {
  display: block;
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-text);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-submenu li a:hover { color: var(--c-black); background: var(--c-bg-alt); }

.mobile-nav__cta {
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--c-border);
  flex-shrink: 0;
}
.mobile-nav__cta .btn { width: 100%; justify-content: center; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow), visibility var(--t-slow);
}
.nav-overlay--visible { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

/* ── 09  HERO ──────────────────────────────────────────────────────────────── */
/* ── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: #07090F;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Dot-grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
  pointer-events: none;
}
/* Bottom edge line */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1) 50%, transparent);
  z-index: 1;
}

/* Animated ambient orbs */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,.20) 0%, transparent 65%);
  top: -180px; left: -200px;
  animation: heroOrb1 14s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,.16) 0%, transparent 65%);
  top: 25%; right: -150px;
  animation: heroOrb2 18s ease-in-out infinite alternate;
}
.hero__orb--3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,.10) 0%, transparent 65%);
  bottom: 5%; left: 30%;
  animation: heroOrb3 16s ease-in-out infinite alternate;
}
@keyframes heroOrb1 { from { transform: translate(0,0) scale(1); } to { transform: translate(70px,50px) scale(1.12); } }
@keyframes heroOrb2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-50px,-70px) scale(1.10); } }
@keyframes heroOrb3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-35px,-45px) scale(1.07); } }

/* Body — 2-column split */
.hero__body {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: clamp(var(--sp-10), 6vw, var(--sp-16));
  padding-block: clamp(5rem, 8vw, 8.5rem);
}

/* ── Left copy */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.65);
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-6);
  backdrop-filter: blur(10px);
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: heroDotPulse 2.5s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  60%       { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-4);
}

.hero__tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.50);
  margin-bottom: var(--sp-6);
  line-height: 1.5;
  min-height: 2.1em;
}
.hero__typewriter {
  color: var(--c-white);
  font-weight: var(--fw-bold);
}
.hero__cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: #3B82F6;
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: heroCursorBlink 0.9s step-end infinite;
}
@keyframes heroCursorBlink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero__desc {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: rgba(255,255,255,.48);
  max-width: 52ch;
  line-height: 1.80;
  margin-bottom: var(--sp-8);
  font-weight: var(--fw-light);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  margin-bottom: var(--sp-8);
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.40);
}
.hero__pill svg { color: #22C55E; flex-shrink: 0; }

/* ── Right floating cards */
.hero__right {
  position: relative;
  height: 480px;
}
.hero__cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 14px 18px;
  width: 85%;
  box-shadow: 0 4px 24px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.10);
}

/* Staggered zigzag positions + independent float animations */
.hero__card--1 { top: 0px;   left: 0;   animation: heroFloat1 6.0s ease-in-out infinite; }
.hero__card--2 { top: 88px;  right: 0;  width: 82%; animation: heroFloat2 7.0s ease-in-out infinite 0.7s; }
.hero__card--3 { top: 180px; left: 0;   animation: heroFloat1 8.0s ease-in-out infinite 1.4s; }
.hero__card--4 { top: 268px; right: 0;  width: 82%; animation: heroFloat2 6.5s ease-in-out infinite 0.3s; }
.hero__card--5 { top: 360px; left: 0;   animation: heroFloat1 7.5s ease-in-out infinite 1.1s; }

@keyframes heroFloat1 { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(-10px); } }
@keyframes heroFloat2 { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(10px);  } }

.hero__card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__card-icon svg { width: 17px; height: 17px; }
.hero__card-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,.90);
  line-height: 1.2;
}
.hero__card-sub {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  margin-top: 2px;
}
.hero__card-dot {
  margin-left: auto;
  font-size: 9px;
  flex-shrink: 0;
}

/* Floating metric badge */
.hero__metric {
  position: absolute;
  bottom: 10px;
  right: 8%;
  background: rgba(59,130,246,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(59,130,246,.28);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  animation: heroFloat2 9s ease-in-out infinite 2s;
  box-shadow: 0 0 24px rgba(59,130,246,.15);
}
.hero__metric-num {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 3px;
}
.hero__metric-label {
  font-size: 10px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Stats strip */
.hero__stats {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: var(--sp-7);
  position: relative;
  z-index: 1;
}
.hero__stats-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.hero-stat {
  border-right: 1px solid rgba(255,255,255,.07);
  padding-inline-end: var(--sp-6);
}
.hero-stat:last-child { border-right: none; }
.hero-stat__num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-1);
}
.hero-stat__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── 10  TRUST STRIP ───────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--c-white);
  border-block: 1px solid var(--c-border);
  padding-block: var(--sp-10);
}
.trust-strip__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin-bottom: var(--sp-6);
  text-align: center;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
}
.trust-logo {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #C0C0C0;
  letter-spacing: -0.02em;
  transition: color var(--t-base);
  user-select: none;
}
.trust-logo:hover { color: var(--c-text-dark); }

/* ── 11  BENEFITS SECTION ──────────────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.benefit-card {
  padding: var(--sp-8);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--c-black);
  transition: width var(--t-slow);
}
.benefit-card:hover { border-color: var(--c-black); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.benefit-card:hover::before { width: 100%; }

.benefit-card__num {
  font-size: 3rem;
  font-weight: var(--fw-extrabold);
  color: var(--c-border);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: var(--sp-4);
  transition: color var(--t-base);
}
.benefit-card:hover .benefit-card__num { color: #E0E0E0; }

.benefit-card__icon {
  width: 44px;
  height: 44px;
  background: var(--c-bg-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.benefit-card__icon svg { width: 22px; height: 22px; color: var(--c-white); }

.benefit-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  margin-bottom: var(--sp-3);
}
.benefit-card__desc {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: var(--lh-relaxed);
}

/* ── 12  SERVICES PREVIEW (HOME) ───────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

/* ── Per-card colour tokens */
.pillar-card--blue   { --pc-bg:#EFF6FF; --pc-color:#3B82F6; --pc-border:rgba(59,130,246,.18);  --pc-glow:rgba(59,130,246,.07);  }
.pillar-card--purple { --pc-bg:#F5F3FF; --pc-color:#8B5CF6; --pc-border:rgba(139,92,246,.18);  --pc-glow:rgba(139,92,246,.06);  }
.pillar-card--red    { --pc-bg:#FFF1F2; --pc-color:#F43F5E; --pc-border:rgba(244,63,94,.18);   --pc-glow:rgba(244,63,94,.05);   }
.pillar-card--amber  { --pc-bg:#FFFBEB; --pc-color:#F59E0B; --pc-border:rgba(245,158,11,.18);  --pc-glow:rgba(245,158,11,.06);  }
.pillar-card--green  { --pc-bg:#F0FDF4; --pc-color:#22C55E; --pc-border:rgba(34,197,94,.18);   --pc-glow:rgba(34,197,94,.05);   }
.pillar-card--dark   { --pc-bg:rgba(255,255,255,.07); --pc-color:rgba(255,255,255,.65); --pc-border:rgba(255,255,255,.12); }

.pillar-card {
  padding: clamp(2rem, 3.5vw, 3rem) clamp(2rem, 3vw, 2.75rem);
  border: 1.5px solid var(--c-border);
  border-radius: 24px;
  background: var(--c-white);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: border-color var(--t-base), box-shadow var(--t-slow), transform var(--t-slow);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Ambient colour wash — large radial blob in top-right corner */
.pillar-card:not(.pillar-card--dark)::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--pc-bg) 0%, transparent 68%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.pillar-card:not(.pillar-card--dark):hover::after {
  opacity: 1;
  transform: scale(1.15);
}

/* Thin accent line at top */
.pillar-card:not(.pillar-card--dark)::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pc-color), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.pillar-card:not(.pillar-card--dark):hover::before { opacity: 1; }

.pillar-card:not(.pillar-card--dark):hover {
  border-color: var(--pc-border);
  box-shadow: 0 24px 64px var(--pc-glow, rgba(0,0,0,.06)), 0 6px 20px rgba(0,0,0,.05);
  transform: translateY(-6px);
}

/* Dark CTA card */
.pillar-card--dark {
  background: var(--c-black);
  border-color: transparent;
}
.pillar-card--dark:hover {
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  transform: translateY(-6px);
}
.pillar-card--dark .pillar-card__title { color: var(--c-white); }
.pillar-card--dark .pillar-card__desc  { color: rgba(255,255,255,.46); }

/* Top row: icon + arrow */
.pillar-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.pillar-card__icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--pc-bg, var(--c-bg-alt));
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.pillar-card:hover .pillar-card__icon { transform: scale(1.08); }
.pillar-card__icon svg { width: 32px; height: 32px; color: var(--pc-color, var(--c-text-dark)); }

.pillar-card__arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-light);
  flex-shrink: 0;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-base);
}
.pillar-card:not(.pillar-card--dark):hover .pillar-card__arrow {
  background: var(--pc-color);
  border-color: var(--pc-color);
  color: var(--c-white);
  transform: rotate(45deg);
}
.pillar-card__arrow svg { width: 17px; height: 17px; }

.pillar-card__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  line-height: 1.18;
  position: relative; z-index: 1;
}
.pillar-card__desc {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: 1.82;
  flex: 1;
  position: relative; z-index: 1;
}
.pillar-card__tags {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  position: relative; z-index: 1;
}
.pillar-tag {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  padding: 5px 14px;
  background: var(--pc-bg, var(--c-bg-alt));
  border-radius: 100px;
  color: var(--pc-color, var(--c-text));
  border: 1px solid var(--pc-border, var(--c-border));
  letter-spacing: 0.02em;
}
.pillar-card__link {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--pc-color, var(--c-black));
  position: relative; z-index: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.pillar-card__link:hover { text-decoration-color: var(--pc-color, var(--c-black)); }

/* ── 13  HOW WE WORK ───────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: var(--c-border);
}
.step {
  text-align: center;
  position: relative;
}
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-black);
  margin: 0 auto var(--sp-5);
  position: relative;
  z-index: 1;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}
.step:hover .step__num { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.step__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  margin-bottom: var(--sp-2);
}
.step__desc { font-size: var(--fs-sm); color: var(--c-text); line-height: var(--lh-relaxed); }

/* ── 14  TESTIMONIALS ──────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.testimonial-card {
  padding: var(--sp-8);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-md);
  background: var(--c-bg-mid);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: border-color var(--t-base), transform var(--t-base);
}
.testimonial-card:hover { border-color: #444; transform: translateY(-2px); }

.testimonial-stars {
  display: flex;
  gap: 3px;
}
.testimonial-stars svg { width: 16px; height: 16px; fill: #F5C842; }

.testimonial-quote {
  font-size: var(--fs-base);
  color: rgba(255,255,255,.75);
  line-height: var(--lh-relaxed);
  font-weight: var(--fw-light);
  font-style: italic;
  flex: 1;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2A2A2A;
  border: 1.5px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
}
.testimonial-author__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-white);
}
.testimonial-author__role { font-size: var(--fs-xs); color: rgba(255,255,255,.45); margin-top: 2px; }

/* ── 15  ABOUT PREVIEW ─────────────────────────────────────────────────────── */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-preview__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-preview__image:hover img { transform: scale(1.04); }

.about-preview__content { }
.about-preview__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-block: var(--sp-8);
}
.about-preview__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: var(--lh-relaxed);
}
.about-preview__item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-black);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ── 16  CTA SECTION ───────────────────────────────────────────────────────── */
.cta-section { background: var(--c-bg); }  /* page bg = natural gap before footer */
.cta-section__inner {
  background: var(--c-bg-dark);
  border-radius: 20px;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  margin-inline: auto;
}
.cta-section__inner .eyebrow { color: rgba(255,255,255,.45); }
.cta-section__title {
  font-size: var(--fs-6xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.03em;
}
.cta-section__sub {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-10);
  line-height: var(--lh-relaxed);
}
.cta-section__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; }

/* ── 17  PAGE BANNER ───────────────────────────────────────────────────────── */
.page-banner {
  padding-block: clamp(3rem, 6vw, 5rem);
  background-color: var(--c-bg-dark);
  background-image: url('/assets/img/page-banner-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-banner__inner { }
.page-banner__title {
  font-size: var(--fs-6xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  margin-block: var(--sp-3) var(--sp-4);
  letter-spacing: -0.03em;
}
.page-banner__sub {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.55);
  max-width: 60ch;
  line-height: var(--lh-relaxed);
}

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--sp-4); }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.breadcrumb__item { display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb__link {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.4);
  transition: color var(--t-fast);
}
.breadcrumb__link:hover { color: rgba(255,255,255,.75); }
.breadcrumb__sep { font-size: var(--fs-xs); color: rgba(255,255,255,.25); }
.breadcrumb__item--current { font-size: var(--fs-xs); font-weight: var(--fw-medium); color: rgba(255,255,255,.55); }

/* ── 18  SERVICES PAGE ─────────────────────────────────────────────────────── */
.service-nav {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: var(--header-h);
  z-index: 100;
}
.service-nav__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-nav__inner::-webkit-scrollbar { display: none; }
.service-nav__btn {
  flex-shrink: 0;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--ff-sans);
}
.service-nav__btn:hover { color: var(--c-black); }
.service-nav__btn.active { color: var(--c-black); border-bottom-color: var(--c-black); font-weight: var(--fw-semibold); }

.service-pillar { scroll-margin-top: calc(var(--header-h) + 56px); }

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
.service-item {
  padding: var(--sp-6);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.service-item:hover { border-color: var(--c-black); box-shadow: var(--shadow-sm); }
.service-item__icon {
  width: 40px;
  height: 40px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  transition: background var(--t-base);
}
.service-item:hover .service-item__icon { background: var(--c-black); }
.service-item__icon svg { width: 18px; height: 18px; color: var(--c-text-dark); transition: color var(--t-base); }
.service-item:hover .service-item__icon svg { color: var(--c-white); }
.service-item__title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--c-text-dark); margin-bottom: var(--sp-2); }
.service-item__desc { font-size: var(--fs-sm); color: var(--c-text); line-height: var(--lh-relaxed); }

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.industry-card {
  padding: var(--sp-5) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  text-align: center;
  transition: border-color var(--t-base), transform var(--t-base);
}
.industry-card:hover { border-color: var(--c-black); transform: translateY(-2px); }
.industry-card__icon { font-size: 2rem; margin-bottom: var(--sp-3); }
.industry-card__name { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--c-text-dark); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 800px; margin-inline: auto; }
.faq-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-white);
}
.faq-item.faq-open { border-color: var(--c-black); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text-dark);
  text-align: left;
  font-family: var(--ff-sans);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--c-black); }
.faq-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.faq-icon svg { width: 12px; height: 12px; color: var(--c-text-dark); }
.faq-item.faq-open .faq-icon { background: var(--c-black); border-color: var(--c-black); transform: rotate(45deg); }
.faq-item.faq-open .faq-icon svg { color: var(--c-white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
}
.faq-answer__inner {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: var(--lh-relaxed);
}

/* ── 19  PORTFOLIO / LISTINGS ───────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}
.filter-btn {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-full);
  background: var(--c-white);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  font-family: var(--ff-sans);
}
.filter-btn:hover { color: var(--c-black); border-color: var(--c-black); }
.filter-btn.active { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.portfolio-card {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover { border-color: var(--c-black); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.portfolio-card[hidden] { display: none; }

.portfolio-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--c-bg-alt);
}
.portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-card__img img { transform: scale(1.06); }

.portfolio-card__body { padding: var(--sp-5) var(--sp-6); flex: 1; display: flex; flex-direction: column; gap: var(--sp-3); }
.portfolio-card__category {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-light);
}
.portfolio-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text-dark);
  line-height: var(--lh-snug);
}
.portfolio-card__desc { font-size: var(--fs-sm); color: var(--c-text); line-height: var(--lh-relaxed); flex: 1; }
.portfolio-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.portfolio-card__industry { font-size: var(--fs-xs); color: var(--c-text-light); }
.portfolio-card__link {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-black);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast);
}
.portfolio-card__link:hover { gap: var(--sp-2); }
.portfolio-card__link svg { width: 12px; height: 12px; }

/* ── 20  CONTACT PAGE ──────────────────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-form-block h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.contact-form-block p { margin-bottom: var(--sp-8); color: var(--c-text); line-height: var(--lh-relaxed); }

.form-group { margin-bottom: var(--sp-5); }
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-dark);
  margin-bottom: var(--sp-2);
}
.form-control {
  width: 100%;
  padding: 0.75rem var(--sp-4);
  font-size: var(--fs-base);
  color: var(--c-text-dark);
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--c-black);
  box-shadow: 0 0 0 3px rgba(10,10,10,.08);
}
.form-control::placeholder { color: #C0C0C0; }
textarea.form-control { min-height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.form-submit { margin-top: var(--sp-6); }
.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  padding: var(--sp-5) var(--sp-6);
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-md);
  color: #15803D;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  margin-top: var(--sp-4);
  text-align: center;
}
.form-success.show { display: block; }

/* Contact Info Block */
.contact-info-block {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-8));
}
.contact-info-block h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-6); }
.contact-details { display: flex; flex-direction: column; gap: var(--sp-5); margin-bottom: var(--sp-8); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 18px; height: 18px; color: var(--c-text-dark); }
.contact-detail__label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-light); margin-bottom: 3px; }
.contact-detail__value { font-size: var(--fs-base); color: var(--c-text-dark); font-weight: var(--fw-medium); }
.contact-detail__value a { color: inherit; transition: color var(--t-fast); }
.contact-detail__value a:hover { color: #444; }

.contact-map {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  background: var(--c-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

.contact-social { display: flex; gap: var(--sp-3); }
.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  color: var(--c-text);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.social-link:hover { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.social-link svg { width: 16px; height: 16px; }

/* ── 21  ABOUT PAGE ────────────────────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-content { }
.story-content h2 { font-size: var(--fs-5xl); margin-bottom: var(--sp-6); }
.story-content p { margin-bottom: var(--sp-4); line-height: var(--lh-relaxed); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.mission-card {
  padding: var(--sp-8) var(--sp-6);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  text-align: center;
}
.mission-card__icon {
  font-size: 2.25rem;
  margin-bottom: var(--sp-4);
}
.mission-card__title { font-size: var(--fs-xl); font-weight: var(--fw-bold); margin-bottom: var(--sp-3); }
.mission-card__desc { font-size: var(--fs-sm); color: var(--c-text); line-height: var(--lh-relaxed); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.diff-item {
  padding: var(--sp-6);
  border-left: 2px solid var(--c-border);
  transition: border-color var(--t-base);
}
.diff-item:hover { border-left-color: var(--c-black); }
.diff-item__num { font-size: 0.6875rem; font-weight: var(--fw-bold); letter-spacing: 0.1em; color: var(--c-text-light); margin-bottom: var(--sp-3); text-transform: uppercase; }
.diff-item__title { font-size: var(--fs-lg); font-weight: var(--fw-bold); margin-bottom: var(--sp-2); }
.diff-item__desc { font-size: var(--fs-sm); color: var(--c-text); line-height: var(--lh-relaxed); }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  padding-block: var(--sp-10);
}
.stat-item { text-align: center; }
.stat-item__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-black);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-item__label { font-size: var(--fs-sm); color: var(--c-text); margin-top: var(--sp-2); }

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: center;
  justify-content: center;
}
.partner-logo {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #C8C8C8;
  letter-spacing: -0.03em;
  user-select: none;
  transition: color var(--t-base);
}
.partner-logo:hover { color: var(--c-text); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.team-card {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-white);
  text-align: center;
  transition: border-color var(--t-base), transform var(--t-base);
}
.team-card:hover { border-color: var(--c-black); transform: translateY(-3px); }
.team-card__avatar {
  aspect-ratio: 1;
  background: var(--c-bg-alt);
  overflow: hidden;
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: var(--sp-5); }
.team-card__name { font-size: var(--fs-base); font-weight: var(--fw-bold); margin-bottom: 3px; }
.team-card__role { font-size: var(--fs-xs); color: var(--c-text-light); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── 22  FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-dark); /* fallback while video loads or on reduced-motion */
}

/* Background video */
.footer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

/* Dark blackish overlay — sits between video and content */
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

/* All footer content layers sit above overlay */
.footer-main,
.footer-bottom { position: relative; z-index: 2; }

/* Hide video for users who prefer reduced motion — fallback bg shows */
@media (prefers-reduced-motion: reduce) {
  .footer-video { display: none; }
}

.footer-main { padding-block: var(--sp-16); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-10);
}

.footer-brand__logo .site-logo__wordmark { color: var(--c-white); }
.footer-brand__logo .site-logo__dot { color: var(--c-white); }

.footer-brand__desc {
  font-size: var(--fs-sm);
  color: #fff;
  line-height: var(--lh-relaxed);
  margin-block: var(--sp-5);
  max-width: 30ch;
}

.footer-social { display: flex; gap: var(--sp-3); }
.footer-social .social-link {
  border-color: rgba(255,255,255,.2);
  color: #fff;
  background: rgba(255,255,255,.1);
}
.footer-social .social-link:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }

.footer-col__heading {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-links a {
  font-size: var(--fs-sm);
  color: #fff;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--c-white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.footer-contact-item__icon { color: #fff; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item__icon svg { width: 16px; height: 16px; }
.footer-contact-item__text {
  font-size: var(--fs-sm);
  color: #fff;
  line-height: var(--lh-relaxed);
}
.footer-contact-item__text a { color: inherit; transition: color var(--t-fast); }
.footer-contact-item__text a:hover { color: var(--c-white); }

.footer-bottom {
  padding-block: var(--sp-5);
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom__copy { font-size: var(--fs-xs); color: rgba(255,255,255,.7); }
.footer-bottom__links { display: flex; gap: var(--sp-6); }
.footer-bottom__links a { font-size: var(--fs-xs); color: rgba(255,255,255,.7); transition: color var(--t-fast); }
.footer-bottom__links a:hover { color: #fff; }

/* ── 23  ENGAGEMENT MODELS ─────────────────────────────────────────────────── */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.engage-card {
  padding: var(--sp-8) var(--sp-6);
  border: 1.5px solid var(--c-border-dark);
  border-radius: var(--radius-md);
  background: var(--c-bg-mid);
  transition: border-color var(--t-base), transform var(--t-base);
}
.engage-card:hover { border-color: #555; transform: translateY(-2px); }
.engage-card__icon {
  width: 44px;
  height: 44px;
  background: #1A1A1A;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.engage-card__icon svg { width: 20px; height: 20px; color: rgba(255,255,255,.7); }
.engage-card__title { font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--c-white); margin-bottom: var(--sp-3); }
.engage-card__desc { font-size: var(--fs-sm); color: rgba(255,255,255,.5); line-height: var(--lh-relaxed); }

/* ── 24  UTILITIES ─────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }

/* AOS custom easing */
[data-aos] { transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }

/* ── 25  RESPONSIVE ────────────────────────────────────────────────────────── */

/* 1200px */
@media (max-width: 1200px) {
  .mega-menu__panel { grid-template-columns: 200px 1fr 190px; }
  .mega-services { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

/* 1024px – nav switches to hamburger */
@media (max-width: 1024px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { display: flex; justify-content: space-between; align-items: center; }

  .hero__container { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: var(--sp-4); }
  .hero-stat:nth-child(2n)  { border-bottom-color: transparent; }

  .benefits-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .about-preview-grid { grid-template-columns: 1fr; }
  .about-preview__image { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info-block { position: static; }
  .story-grid { grid-template-columns: 1fr; }
  .story-image { order: -1; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .service-items-grid { grid-template-columns: repeat(2, 1fr); }
  .engage-grid { grid-template-columns: 1fr; }
}

/* 768px */
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cta-section__title { font-size: var(--fs-5xl); }

  /* Footer: brand full-width, 2 link cols side by side, contact full-width */
  .footer-main { padding-block: var(--sp-10); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand__desc { max-width: none; }
  .footer-col--contact { grid-column: 1 / -1; }
}

/* 640px */
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .service-items-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero__stats-inner { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: var(--sp-4); }
  /* footer-grid stays 1fr 1fr from the 768px rule above */
  .steps-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-section__title { font-size: var(--fs-4xl); }
  .page-banner__title { font-size: var(--fs-4xl); }
  .hero__title { font-size: 2.25rem; }
}

