/* ═══════════════════════════════════════════════════════════════
   TRAVIZER CONSULTING — STYLESHEET
   Font: Inter (body) + Space Mono (labels/mono)
   Palette: Deep navy · Electric violet · White · Light grey
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0d0f1a;
  --navy-mid:    #161927;
  --navy-light:  #1e2235;
  --violet:      #6c5ce7;
  --violet-light:#a29bfe;
  --violet-dark: #4834d4;
  --white:       #ffffff;
  --off-white:   #f8f8fc;
  --grey-100:    #f1f1f7;
  --grey-200:    #e2e2ef;
  --grey-400:    #9999bb;
  --grey-600:    #5c5c7a;
  --text:        #1a1a2e;
  --text-light:  #5c5c7a;

  --font-body:   'Inter', system-ui, sans-serif;
  --font-mono:   'Space Mono', monospace;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.15);

  --transition:  .25s ease;
  --max-w:       1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Accessibility ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .logos__track--fwd .logos__slide,
  .logos__track--rev .logos__slide,
  .hero__badge-ring,
  .map-dot--pulse { animation: none; }
}
.logos__stage:hover .logos__slide { animation-play-state: paused; }

/* ── Container ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--violet);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108,92,231,.35);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* ── Section Helpers ──────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1rem;
}
.section-label--light { color: var(--violet-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,15,26,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo__mark {
  width: 36px; height: 36px;
  background: var(--violet);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
}
.logo__text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.logo__accent { color: var(--violet-light); }

/* Nav */
.nav { flex: 1; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav__item { position: relative; }
.nav__link {
  display: block;
  padding: .5rem .9rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,.07); }

.nav__arrow { font-size: .65rem; vertical-align: middle; }

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: .5rem;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
}
.nav__item--has-dropdown:hover .nav__dropdown { display: block; }
.nav__dropdown li a {
  display: block;
  padding: .6rem 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__dropdown li a:hover { color: var(--white); background: rgba(108,92,231,.2); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy);
  padding: 116px 0 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background decorations */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6c5ce7, transparent 70%);
  top: -200px; left: -100px;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #a29bfe, transparent 70%);
  bottom: -100px; right: 100px;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,92,231,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,92,231,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero inner */
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__highlight {
  background: linear-gradient(135deg, var(--violet-light), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat__number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat__plus { color: var(--violet-light); }
.stat__label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .3rem;
  font-family: var(--font-mono);
  letter-spacing: .05em;
}
.stat__divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.12);
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition);
}
.hero__card:hover {
  background: rgba(108,92,231,.15);
  border-color: rgba(108,92,231,.3);
  transform: translateX(6px);
}
.hero__card--featured { margin-left: 0; }
.hero__card--secondary { margin-left: 2rem; }
.hero__card--tertiary { margin-left: 1rem; }

.hero__card-icon { font-size: 1.75rem; }
.hero__card-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--violet-light);
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.hero__card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* Badge */
.hero__badge {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  width: 120px; height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__badge-ring {
  position: absolute;
  inset: 0;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__badge-text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: rgba(162,155,254,.7);
  letter-spacing: .06em;
}
.hero__badge-inner {
  position: relative;
  z-index: 1;
  width: 54px; height: 54px;
  background: var(--violet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
}

/* ══════════════════════════════════════════════════════════════
   LOGOS — fancy dual-row marquee
   ══════════════════════════════════════════════════════════════ */
.logos {
  background: var(--navy);
  padding: 3rem 0;
  overflow: hidden;
}

.logos__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  margin-bottom: 2rem;
}
.logos__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}
.logos__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.logos__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  overflow: hidden;
}

.logos__track { overflow: visible; }
.logos__slide {
  display: flex;
  gap: .75rem;
  width: max-content;
}
.logos__track--fwd .logos__slide  { animation: marquee-fwd 28s linear infinite; }
.logos__track--rev .logos__slide  { animation: marquee-rev 22s linear infinite; }

@keyframes marquee-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Gradient fade edges */
.logos__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  pointer-events: none;
  z-index: 2;
}
.logos__fade--left  { left: 0;  background: linear-gradient(90deg, var(--navy), transparent); }
.logos__fade--right { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }

/* Chip style */
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1.25rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50px;
  font-weight: 600;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s ease;
  cursor: default;
  backdrop-filter: blur(4px);
}
.logo-chip:hover {
  background: rgba(108,92,231,.18);
  border-color: rgba(108,92,231,.45);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108,92,231,.2);
}
.logo-chip--dark {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.06);
}

/* Colour dots */
.logo-chip__dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.logo-chip__dot--blue   { background: #74b9ff; box-shadow: 0 0 6px rgba(116,185,255,.6); }
.logo-chip__dot--green  { background: #55efc4; box-shadow: 0 0 6px rgba(85,239,196,.6); }
.logo-chip__dot--amber  { background: #fdcb6e; box-shadow: 0 0 6px rgba(253,203,110,.6); }
.logo-chip__dot--violet { background: #a29bfe; box-shadow: 0 0 6px rgba(162,155,254,.6); }
.logo-chip__dot--teal   { background: #00cec9; box-shadow: 0 0 6px rgba(0,206,201,.6); }
.logo-chip__dot--pink   { background: #fd79a8; box-shadow: 0 0 6px rgba(253,121,168,.6); }
.logo-chip__dot--orange { background: #e17055; box-shadow: 0 0 6px rgba(225,112,85,.6); }
.logo-chip__dot--sky    { background: #0984e3; box-shadow: 0 0 6px rgba(9,132,227,.6); }

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.services { padding: 100px 0; background: var(--white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--violet-light);
  box-shadow: 0 12px 40px rgba(108,92,231,.12);
  transform: translateY(-4px);
}
.service-card--featured {
  grid-column: span 1;
  background: var(--navy);
  border-color: var(--navy-light);
  color: var(--white);
}
.service-card--featured .service-card__desc { color: rgba(255,255,255,.65); }

.service-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: .75rem;
}
.service-card--featured .service-card__title { color: var(--white); }
.service-card__desc { font-size: .9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }

.service-card__list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.service-card__list li {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-left: 1rem;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--violet-light);
  font-size: .75rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--violet-light);
  transition: gap var(--transition);
  gap: .25rem;
}
.service-card__link:hover { gap: .5rem; }
.service-card--featured .service-card__link { color: var(--violet-light); }

/* ══════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════ */
.about { padding: 100px 0; background: var(--grey-100); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Map visual */
.about__map {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about__map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(108,92,231,.25), transparent 70%);
}
.about__map-svg { width: 100%; height: auto; position: relative; z-index: 1; }

.map-path {
  fill: rgba(108,92,231,.15);
  stroke: rgba(108,92,231,.4);
  stroke-width: 1.5;
}
.map-dot--active {
  fill: var(--violet);
  filter: drop-shadow(0 0 6px rgba(108,92,231,.8));
}
.map-dot--pulse {
  fill: none;
  stroke: var(--violet-light);
  stroke-width: 1;
  opacity: .4;
  animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
  0% { r: 10; opacity: .4; }
  100% { r: 24; opacity: 0; }
}
.map-label {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: rgba(255,255,255,.8);
  letter-spacing: .05em;
}
.map-line {
  stroke: rgba(162,155,254,.4);
  stroke-width: 1;
  stroke-dasharray: 5 4;
}

.about__badge-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}
.about__badge-item {
  flex: 1;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}
.about__badge-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--violet-light);
}
.about__badge-sub {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: .25rem;
}

/* About content */
.about__text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.about__text strong { color: var(--text); }

.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--grey-200);
}
.pillar__icon { font-size: 1.5rem; margin-bottom: .5rem; }
.pillar__title { font-size: .875rem; font-weight: 700; margin-bottom: .4rem; }
.pillar__desc { font-size: .8rem; color: var(--text-light); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════════ */
.team { padding: 100px 0; background: var(--white); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-card {
  display: flex;
  gap: 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--violet-light);
  box-shadow: 0 12px 40px rgba(108,92,231,.10);
  transform: translateY(-3px);
}

.team-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.team-card__avatar--md { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.team-card__avatar--im { background: linear-gradient(135deg, #fd79a8, #e84393); }
.team-card__avatar--pk { background: linear-gradient(135deg, #00b894, #00cec9); }
.team-card__avatar--sy { background: linear-gradient(135deg, #fdcb6e, #e17055); }

.team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.team-card__role {
  font-size: .8rem;
  font-family: var(--font-mono);
  letter-spacing: .05em;
  color: var(--violet);
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.team-card__bio {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--grey-600);
}

/* ══════════════════════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════════════════════ */
.projects { padding: 100px 0; background: var(--grey-100); }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.project-card:hover {
  border-color: var(--violet-light);
  box-shadow: 0 12px 40px rgba(108,92,231,.10);
  transform: translateY(-4px);
}

.project-card__industry {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: .75rem;
}
.project-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  line-height: 1.4;
}
.project-card__desc {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--grey-600);
}

.project-card--cta {
  background: var(--navy);
  border-color: var(--navy-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.project-card__cta-icon { font-size: 2rem; margin-bottom: 1rem; }
.project-card__cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}
.project-card__cta-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════════════════════════ */
.why { padding: 100px 0; background: var(--white); }

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why__text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.why__list { display: flex; flex-direction: column; gap: 1.5rem; }

.why__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why__check {
  width: 28px; height: 28px;
  background: rgba(108,92,231,.12);
  color: var(--violet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}
.why__item strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .25rem;
}
.why__item p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Metrics grid */
.why__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why__metric-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition);
}
.why__metric-card:hover { transform: translateY(-4px); }
.why__metric-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  background: linear-gradient(135deg, var(--white), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why__metric-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .5rem;
  font-family: var(--font-mono);
  letter-spacing: .05em;
}
.why__metric-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.why__metric-link:hover .why__metric-value {
  background: linear-gradient(135deg, #74b9ff, var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why__metric-link:hover .why__metric-label { color: rgba(255,255,255,.8); }

/* Inline link (used in team bio) */
.inline-link {
  color: var(--violet-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.inline-link:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: var(--navy);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__title { color: var(--white); }
.contact__text {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact__offices { display: flex; gap: 2rem; }
.office__city {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}
.office__detail {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-bottom: .4rem;
  font-family: var(--font-mono);
}
.office__phone {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .3rem;
}
.office__phone a { color: inherit; transition: color var(--transition); }
.office__phone a:hover { color: var(--white); }
.office__hours {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  font-family: var(--font-mono);
  margin-bottom: .3rem;
}
.office__email {
  font-size: .875rem;
  color: var(--violet-light);
  transition: color var(--transition);
}
.office__email:hover { color: var(--white); }

/* Form */
.contact__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
  font-family: var(--font-mono);
  letter-spacing: .05em;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: all var(--transition);
  outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,.3); }
.form-input:focus {
  border-color: var(--violet-light);
  background: rgba(108,92,231,.1);
  box-shadow: 0 0 0 3px rgba(108,92,231,.15);
}
.form-select { cursor: pointer; appearance: none; }
.form-select option { background: var(--navy-mid); color: var(--white); }
.form-textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin-top: 1rem;
  font-family: var(--font-mono);
}

/* ── Active nav link ──────────────────────────────────────────── */
.nav__link--active {
  color: var(--white) !important;
  background: rgba(255,255,255,.09);
}

/* ── Scroll-to-top button ─────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--violet);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(108,92,231,.4);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--violet-dark); }

/* ── Service card accent bar on hover ────────────────────────── */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured::before { transform: scaleX(1); opacity: .5; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: #080912;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.footer__brand { flex: 1; }
.footer__tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  margin-top: 1rem;
  margin-bottom: .5rem;
}
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.25); margin-top: 2rem; }

.footer__nav { display: flex; gap: 3rem; }
.footer__col { min-width: 130px; }
.footer__heading {
  font-size: .7rem;
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul li, .footer__col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner           { grid-template-columns: 1fr; }
  .hero__visual          { display: none; }
  .about__inner,
  .why__inner,
  .contact__inner        { grid-template-columns: 1fr; gap: 3rem; }
  .services__grid        { grid-template-columns: repeat(2, 1fr); }
  .projects__grid        { grid-template-columns: repeat(2, 1fr); }
  .team__grid            { grid-template-columns: 1fr; }
  .about__pillars        { grid-template-columns: repeat(3, 1fr); } /* stays 3-col inside single column */
  .why__visual           { grid-template-columns: repeat(4, 1fr); } /* all 4 metrics in a row */
  .why__metric-card      { padding: 1.5rem 1rem; }
  .why__metric-value     { font-size: 2.25rem; }
}

/* ── Mobile nav overlay (outside header, no stacking-context issue) ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;                         /* covers full viewport — no top-calculation risk */
  background: var(--navy-mid);
  z-index: 1100;
  padding: 88px 1.5rem 3rem;       /* 72px header + 16px breathing room */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smooth scroll on older iOS/Android */
}
.mobile-nav.open       { display: flex; flex-direction: column; }
.mobile-nav__list      { list-style: none; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.mobile-nav__heading   {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet-light);
  padding: 1.25rem 1rem .5rem;
}
.mobile-nav__link {
  display: block;
  padding: .85rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.mobile-nav__link:hover, .mobile-nav__link:active {
  background: rgba(108,92,231,.18);
  color: var(--white);
}
.mobile-nav__link--sub {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  padding: .65rem 1rem .65rem 1.5rem;
}
.mobile-nav__divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: .75rem 0;
}
.mobile-nav__cta       { margin-top: 1.5rem; text-align: center; justify-content: center; }

/* ── Mobile (≤ 768px) ─────────────────────────────────────────── */
@media (max-width: 768px) {
  /* ----- Nav ----- */
  .nav { display: none; }   /* hide desktop nav on mobile */
  .hamburger             { display: flex; }

  /* ----- Section padding ----- */
  .services, .about, .team,
  .projects, .why, .contact  { padding: 64px 0; }

  /* ----- Hero ----- */
  .hero                  { padding: 88px 0 56px; }
  .hero__subtitle        { font-size: 1rem; }
  .hero__stats           { flex-wrap: wrap; gap: 1rem; }
  .stat__divider         { display: none; }
  .stat__number          { font-size: 1.75rem; }

  /* ----- Grids ----- */
  .services__grid        { grid-template-columns: 1fr; }
  .projects__grid        { grid-template-columns: 1fr; }
  .about__pillars        { grid-template-columns: 1fr; gap: .75rem; }

  /* ----- Team cards ----- */
  .team-card             { flex-direction: column; }
  .team-card__avatar     { width: 52px; height: 52px; font-size: .95rem; }

  /* ----- About map ----- */
  .about__badge-group    { flex-direction: column; }

  /* ----- Why metrics ----- */
  .why__visual           { grid-template-columns: 1fr 1fr; }
  .why__metric-card      { padding: 1.5rem 1rem; }
  .why__metric-value     { font-size: 2rem; }

  /* ----- Contact ----- */
  .contact__offices      { flex-direction: column; gap: 1.5rem; }
  .contact__form         { padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); }

  /* Prevent iOS zoom on input focus (font-size must be ≥ 16px) */
  .form-input            { font-size: 1rem; padding: .875rem 1rem; }

  /* ----- Footer ----- */
  .footer                { padding: 3rem 0 1.5rem; }
  .footer__inner         { flex-direction: column; gap: 2.5rem; }
  .footer__nav           { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__copy          { margin-top: 1rem; }

  /* ----- Buttons: bigger touch targets ----- */
  .btn                   { min-height: 44px; }
  .btn--lg               { padding: .9rem 1.75rem; font-size: .95rem; }
  .hamburger             { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
}

/* ── Small phone (≤ 480px) ────────────────────────────────────── */
@media (max-width: 480px) {
  .container             { padding: 0 1.1rem; }
  .hero                  { padding: 84px 0 44px; }
  .hero__cta             { flex-direction: column; align-items: stretch; }
  .hero__cta .btn        { text-align: center; justify-content: center; }

  /* Stats: 2-column grid instead of flex-wrap */
  .hero__stats           { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

  .services, .about, .team,
  .projects, .why, .contact  { padding: 50px 0; }

  .section-title         { font-size: 1.75rem; }
  .services__grid,
  .projects__grid        { gap: 1rem; }

  /* Why metrics: single column */
  .why__visual           { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .why__metric-value     { font-size: 1.75rem; }

  /* Contact form full-edge-to-edge feel */
  .contact__form         { padding: 1.5rem 1rem; border-radius: var(--radius-md); }

  /* Footer single column */
  .footer__nav           { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Logo carousel — slow down a touch on small screens */
  .logos__track--fwd .logos__slide { animation-duration: 20s; }
  .logos__track--rev .logos__slide { animation-duration: 16s; }
  .logos__fade                     { width: 80px; }

  /* About map badges */
  .about__badge-num      { font-size: .85rem; }
  .about__badge-sub      { font-size: .7rem; }
}
