/* ================================================================
   VRITA VENTURES — Clean Light Design System
   White-first · Space Grotesk + Inter · Fast animations
   ================================================================ */

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --bg:      #ffffff;
  --bg2:     #f8fafc;
  --bg3:     #f1f5f9;
  --border:  #e2e8f0;
  --border2: #cbd5e1;

  --blue:    #1F4FD8;
  --blue-l:  #3a6fd4;
  --blue-s:  #EBF0FA;
  --blue-b:  #143A63;
  --purple:  #7c3aed;
  --green:   #059669;
  --amber:   #d97706;
  --rose:    #e11d48;
  --cyan:    #0891b2;

  --ink:     #0f172a;
  --ink2:    #334155;
  --ink3:    #64748b;
  --ink4:    #94a3b8;

  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow2: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow3: 0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);

  --t:  .18s cubic-bezier(.4,0,.2,1);
  --ts: .35s cubic-bezier(.16,1,.3,1);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Scroll Progress Bar ──────────────────────────────────────── */
#progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #1F4FD8, #143A63);
  z-index: 9999;
  transition: transform .08s linear;
}

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}

/* Interior pages: glass-effect nav class → solid white */
.glass-effect {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
}
.nav.s {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo { height: 2.5rem; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: .125rem; }
.nav-link {
  padding: .4375rem .875rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink3);
  border-radius: .5rem;
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--ink); background: var(--bg2); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop .chevron { font-size: .6rem; margin-left: .2rem; display: inline-block; transition: transform .18s; }
.nav-drop:hover .chevron { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + .625rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: .875rem;
  padding: .375rem;
  opacity: 0;
  visibility: hidden;
  transition: all .18s var(--ts);
  box-shadow: var(--shadow3);
}
.nav-drop:hover .nav-drop-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-item {
  display: flex; align-items: center; gap: .625rem;
  padding: .5625rem .6875rem;
  border-radius: .625rem;
  font-size: .8125rem; font-weight: 500;
  color: var(--ink2);
  transition: background var(--t), color var(--t);
}
.nav-drop-item:hover { background: var(--bg2); color: var(--ink); }
.nd-icon {
  width: 28px; height: 28px; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .6rem;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.125rem;
  font-size: .875rem; font-weight: 600;
  color: #fff;
  background: var(--blue);
  border-radius: .625rem;
  transition: background var(--t), transform var(--ts), box-shadow var(--ts);
}
.nav-cta:hover { background: var(--blue-b); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(31,79,216,.3); }

/* Mobile */
.nav-mob-btn {
  display: none; width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: .5rem; color: var(--ink3);
  transition: background var(--t);
}
.nav-mob-btn:hover { background: var(--bg2); }
.nav-mob-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: .875rem 1.5rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.nav-mob-menu.open { display: block; }
.nm-link {
  display: block; padding: .625rem .75rem;
  font-size: .9375rem; font-weight: 500; color: var(--ink2);
  border-radius: .5rem; transition: background var(--t);
}
.nm-link:hover { background: var(--bg2); }
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mob-btn { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
  background: #071525;
}

/* Subtle grid pattern over video */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 2;
}
/* Vignette fade */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, rgba(5,12,30,.55) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Hero Video Background ───────────────────────────────── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  /* scale(1.35) crops YouTube's title bar and watermark outside the visible area */
  transform: translate(-50%, -50%) scale(1.35);
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  border: none;
  pointer-events: none;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Kills YouTube title/logo at top & bottom edges */
    linear-gradient(to bottom,
      rgba(5,15,40,.99)  0%,
      rgba(5,15,40,.94)  8%,
      rgba(5,15,40,.78) 22%,
      rgba(7,20,55,.65) 50%,
      rgba(5,15,40,.78) 78%,
      rgba(5,15,40,.96) 100%
    );
  pointer-events: none;
}

/* Blue glow orb */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
}
.hero-orb-1 { width: 600px; height: 600px; background: rgba(31,79,216,.18); top: -100px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(124,58,237,.15); bottom: -60px; right: -60px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  text-align: center;
}

/* Badge */
.hero-pill {
  display: inline-flex; align-items: center; gap: .4375rem;
  padding: .375rem .875rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.92);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.pill-dot {
  width: 6px; height: 6px;
  background: #60a5fa; border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Headline */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.75rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.04em;
  color: #ffffff;
  margin-bottom: 1.375rem;
}

.grad-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: .875rem; flex-wrap: wrap;
}

.hero-chips {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .3125rem .75rem;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.82);
  transition: all var(--t);
  backdrop-filter: blur(6px);
}
.chip:hover { border-color: rgba(96,165,250,.5); color: #93c5fd; background: rgba(96,165,250,.12); }
.chip i { color: #93c5fd; }

/* Scroll cue */
.scroll-ind {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: .35;
}
.scroll-ind span {
  font-size: .625rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-p {
  display: inline-flex; align-items: center; gap: .4375rem;
  padding: .8125rem 1.875rem;
  font-size: .9375rem; font-weight: 700;
  color: #fff; background: var(--blue);
  border-radius: .75rem; border: none; cursor: pointer;
  transition: background var(--t), transform var(--ts), box-shadow var(--ts);
  white-space: nowrap;
}
.btn-p:hover { background: var(--blue-b); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(31,79,216,.3); }
.btn-p:active { transform: translateY(0); }

.btn-g {
  display: inline-flex; align-items: center; gap: .4375rem;
  padding: .8125rem 1.875rem;
  font-size: .9375rem; font-weight: 600;
  color: var(--ink2); background: transparent;
  border: 1.5px solid var(--border2);
  border-radius: .75rem; cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-g:hover { color: var(--blue); border-color: rgba(31,79,216,.4); background: var(--blue-s); }

/* Ghost button inside dark hero */
.hero .btn-g {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.3);
}
.hero .btn-g:hover {
  color: #93c5fd;
  border-color: rgba(96,165,250,.5);
  background: rgba(96,165,250,.1);
}

/* ── Marquee ─────────────────────────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: .8125rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg2), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg2), transparent); }
.marquee-track { display: flex; animation: marquee 32s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 0 2.5rem;
  font-size: .8125rem; font-weight: 600; color: var(--ink4);
  white-space: nowrap; transition: color var(--t);
}
.marquee-item:hover { color: var(--ink2); }
.marquee-item i { color: var(--blue); font-size: .7rem; }

/* ── Sections ────────────────────────────────────────────────── */
.sec { padding: 6rem 2rem; }
.sec-inner { max-width: 1280px; margin: 0 auto; }

.label {
  display: inline-flex; align-items: center; gap: .4375rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
}
.ldot {
  width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%;
  animation: pulse 2.2s infinite;
}

.sec-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.875rem, 4.5vw, 3.5rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  color: #16346b;   /* navy blue headings (white-on-dark sections override inline) */
}
.sec-h .g {
  background: linear-gradient(135deg, #1F4FD8, #143A63);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sec-sub { font-size: 1rem; color: var(--ink3); line-height: 1.7; max-width: 500px; }

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.reveal.from-left  { transform: translateX(-24px); }
.reveal.from-right { transform: translateX(24px); }
.reveal.from-scale { transform: scale(.96); }
.reveal.in {
  opacity: 1 !important;
  transform: none !important;
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ── About ───────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } }

.about-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700; color: var(--ink);
  line-height: 1.28; letter-spacing: -.02em;
  margin-bottom: 1.375rem;
}
.about-quote .accent { color: var(--blue); }
.about-p { font-size: .9375rem; color: var(--ink3); line-height: 1.75; }
.about-p + .about-p { margin-top: .875rem; }

.stat-2col { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; margin-top: 2rem; }
.scard {
  padding: 1.25rem 1.375rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 1rem;
  transition: border-color var(--t), transform var(--ts), box-shadow var(--ts);
}
.scard:hover { border-color: rgba(31,79,216,.35); transform: translateY(-2px); box-shadow: var(--shadow2); }
.scard-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #1F4FD8, #143A63);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.scard-l { font-size: .8rem; color: var(--ink3); margin-top: .375rem; font-weight: 500; }

.vcard-list { display: flex; flex-direction: column; gap: .75rem; }
.vcard {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.125rem 1.375rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 1rem;
  transition: border-color var(--t), box-shadow var(--ts);
}
.vcard:hover { border-color: rgba(31,79,216,.3); box-shadow: var(--shadow2); }
.vcard-ico {
  width: 40px; height: 40px; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; flex-shrink: 0;
  transition: transform var(--ts);
}
.vcard:hover .vcard-ico { transform: scale(1.08) rotate(-6deg); }
.vcard-title { font-size: .9375rem; font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.vcard-desc  { font-size: .8125rem; color: var(--ink3); line-height: 1.55; }

/* ── Services Bento ─────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .bento { grid-template-columns: 1fr; } }
.bento-span2 { grid-column: span 2; }
@media (max-width: 640px) { .bento-span2 { grid-column: span 1; } }

.bcard {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.875rem;
  transition: border-color var(--t), transform var(--ts), box-shadow var(--ts);
  cursor: default;
}
.bcard:hover { border-color: rgba(31,79,216,.35); transform: translateY(-3px); box-shadow: var(--shadow3); }

/* Featured card with blue tint */
.bcard-feat {
  background: linear-gradient(135deg, var(--blue-s) 0%, #fff 60%);
  border-color: rgba(31,79,216,.25);
}
.bcard-feat:hover { border-color: rgba(31,79,216,.45); }

.bcard-ico {
  width: 48px; height: 48px; border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; margin-bottom: 1.25rem;
  transition: transform var(--ts);
}
.bcard:hover .bcard-ico { transform: scale(1.08) rotate(-6deg); }

.bcard-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.015em; margin-bottom: .5rem;
}
.bcard-desc { font-size: .875rem; color: var(--ink3); line-height: 1.65; margin-bottom: 1.125rem; }

.feat-list { display: flex; flex-direction: column; gap: .375rem; }
.feat-item { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--ink3); }
.feat-item i { font-size: .5rem; color: var(--green); }

.bcard-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #1F4FD8, #143A63);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: .375rem;
}

/* ── Case Studies ────────────────────────────────────────────── */
.cases { display: flex; flex-direction: column; gap: 1.125rem; }
.ccase {
  display: flex;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--ts), transform var(--ts);
}
.ccase:hover { border-color: rgba(31,79,216,.3); box-shadow: var(--shadow3); transform: translateX(3px); }

.ccase-stripe { width: 4px; flex-shrink: 0; }
.ccase-body {
  flex: 1; padding: 2rem 2.25rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: start;
}
@media (max-width: 768px) { .ccase-body { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; } }

.ccase-eyebrow { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink4); margin-bottom: .625rem; }
.ccase-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.625rem; font-weight: 700; color: var(--ink); letter-spacing: -.025em; margin-bottom: .25rem; }
.ccase-org  { font-size: .8rem; color: var(--ink4); margin-bottom: 1rem; }
.ccase-desc { font-size: .875rem; color: var(--ink3); line-height: 1.7; }

.ccase-metrics { display: flex; gap: .625rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cmet {
  padding: .75rem 1rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: .875rem; min-width: 85px;
  transition: border-color var(--t);
}
.ccase:hover .cmet { border-color: rgba(31,79,216,.2); }
.cmet-v { font-family: 'Space Grotesk', sans-serif; font-size: 1.375rem; font-weight: 800; line-height: 1; margin-bottom: .2rem; }
.cmet-l { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink4); }

.ctag-row { display: flex; flex-wrap: wrap; gap: .4375rem; margin-bottom: 1rem; }
.ctag { padding: .25rem .75rem; border-radius: 100px; font-size: .75rem; font-weight: 600; }

.cquote {
  padding: .875rem 1.125rem;
  border-left: 2px solid var(--border2);
  font-size: .875rem; color: var(--ink3);
  font-style: italic; line-height: 1.65;
  margin-top: 1rem;
}

/* ── Impact Grid ─────────────────────────────────────────────── */
.impact-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1.5px solid var(--border);
  border-radius: 1.5rem; overflow: hidden;
  background: var(--border);
  gap: 1px;
}
@media (max-width: 1024px) { .impact-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .impact-grid { grid-template-columns: 1fr; } }

.icell {
  padding: 2.75rem 2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--bg);
  transition: background var(--t);
}
.icell:hover { background: var(--bg2); }
.icell-ico {
  width: 48px; height: 48px; border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; margin-bottom: 1.25rem;
}
.icell-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #1F4FD8, #143A63);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: .5rem;
}
.icell-label { font-size: .9375rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.icell-sub   { font-size: .8125rem; color: var(--ink4); }

/* ── Process Steps ───────────────────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.125rem; position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 2.375rem; left: calc(100%/6); right: calc(100%/6);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), var(--border2), transparent);
  pointer-events: none;
}
@media (max-width: 1024px) { .process-grid { grid-template-columns: 1fr; } .process-grid::before { display: none; } }

.pstep {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 1.25rem; padding: 2rem;
  position: relative;
  transition: border-color var(--t), transform var(--ts), box-shadow var(--ts);
}
.pstep:hover { border-color: rgba(31,79,216,.35); transform: translateY(-4px); box-shadow: var(--shadow3); }
.pstep-num {
  position: absolute; top: 1.75rem; right: 1.875rem;
  font-size: 4rem; font-weight: 900;
  color: var(--bg3);
  font-family: 'Space Grotesk', sans-serif; line-height: 1;
  user-select: none;
  transition: color var(--ts);
}
.pstep:hover .pstep-num { color: rgba(31,79,216,.1); }
.pstep-ico {
  width: 44px; height: 44px; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: 1.25rem;
  transition: transform var(--ts);
}
.pstep:hover .pstep-ico { transform: scale(1.1) rotate(-7deg); }
.pstep-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.pstep-desc  { font-size: .875rem; color: var(--ink3); line-height: 1.65; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-sec { background: var(--bg2); border-top: 1.5px solid var(--border); }
.contact-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 5rem; align-items: start;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.cinfo-cards { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.cinfo-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: .9375rem; transition: border-color var(--t), box-shadow var(--ts);
}
.cinfo-card:hover { border-color: rgba(31,79,216,.3); box-shadow: var(--shadow2); }
.cinfo-ico {
  width: 38px; height: 38px; border-radius: .625rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; flex-shrink: 0;
}
.cinfo-lbl { font-size: .675rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink4); margin-bottom: .25rem; }
.cinfo-val { font-size: .875rem; color: var(--ink3); line-height: 1.55; }

.form-wrap {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 1.5rem; padding: 2.25rem;
  box-shadow: var(--shadow2);
}
.form-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .3rem; }
.form-sub   { font-size: .875rem; color: var(--ink3); margin-bottom: 1.75rem; }

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .frow { grid-template-columns: 1fr; } }
.fwrap { display: flex; flex-direction: column; gap: .375rem; }
.flbl  { font-size: .8rem; font-weight: 600; color: var(--ink2); }
.finp {
  width: 100%;
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: .6875rem; padding: .75rem .9375rem;
  font-size: .9rem; font-family: 'Inter', sans-serif; color: var(--ink);
  outline: none; transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.finp::placeholder { color: var(--ink4); }
.finp:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,79,216,.12); background: var(--bg); }

.btn-submit {
  width: 100%; padding: .9375rem;
  background: var(--blue); color: #fff;
  border-radius: .75rem; font-family: 'Inter', sans-serif;
  font-size: .9375rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  cursor: pointer; border: none;
  transition: background var(--t), transform var(--ts), box-shadow var(--ts);
}
.btn-submit:hover { background: var(--blue-b); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(31,79,216,.3); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #112540; color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 4.5rem 2rem 2.25rem;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem 4rem; margin-bottom: 3rem;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 2.25rem; width: auto; object-fit: contain; margin-bottom: 1rem; opacity: .9; }
.footer-desc { font-size: .875rem; line-height: 1.7; max-width: 260px; }
.footer-col-h { font-size: .675rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 1.125rem; }
.flink { display: block; font-size: .875rem; color: rgba(255,255,255,.5); margin-bottom: .5625rem; transition: color var(--t), transform var(--t); }
.flink:hover { color: rgba(255,255,255,.9); transform: translateX(3px); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── Photo Strip ─────────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  overflow: hidden;
}
.photo-strip-item {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.photo-strip-item:hover img { transform: scale(1.06); }
.photo-strip-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .75rem 1.125rem;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
@media (max-width: 768px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip-item { height: 200px; }
}

/* ── Clients Marquee ─────────────────────────────────────────── */
.clients-marquee-wrap {
  overflow: hidden; position: relative; padding: .75rem 0;
}
.clients-marquee-wrap::before, .clients-marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 140px; z-index: 2; pointer-events: none;
}
.clients-marquee-wrap::before { left: 0;  background: linear-gradient(to right, #f8fafc, transparent); }
.clients-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  #f8fafc, transparent); }
.clients-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.client-logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: .875rem 2.25rem; flex-shrink: 0;
}
.client-logo-item img {
  height: 54px; width: auto; max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.55);
  transition: filter .3s ease, transform .3s ease;
}
.client-logo-item img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

/* ── Certifications & Recognitions ──────────────────────────── */
.certs-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem;
}
@media (max-width: 1024px) { .certs-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .certs-grid { grid-template-columns: 1fr; } }

.cert-card {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .875rem;
  transition: border-color var(--t), transform var(--ts), box-shadow var(--ts);
}
.cert-card:hover { border-color: rgba(31,79,216,.35); transform: translateY(-4px); box-shadow: var(--shadow3); }
.cert-card img {
  height: 80px; width: auto; max-width: 170px; object-fit: contain;
}
.cert-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9375rem; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.cert-card-desc { font-size: .8rem; color: var(--ink3); line-height: 1.55; }

/* ── Keyframes ────────────────────────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(.5);opacity:.4} }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sec { padding: 4rem 1.25rem; }
  .hero { padding: 6rem 1.25rem 4rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-inner { padding: 0 1.25rem; }
  * { max-width: 100%; }
  img, video, iframe { max-width: 100%; }
  /* The full-bleed hero video must stay oversized to cover the hero —
     exempt it from the viewport-overflow guard above */
  .hero-video-wrap iframe { max-width: none; }
}

@media (max-width: 640px) {
  .sec { padding: 3rem 1rem; }
  .stat-2col { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.25rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-span2 { grid-column: span 1; }
  .ccase-body { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.125rem; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip-item { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .stat-2col { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-p, .btn-g { justify-content: center; width: 100%; }
  .hero-pill { font-size: .7rem; }
  .hero-chips { gap: .375rem; }
  .chip { font-size: .72rem; padding: .25rem .625rem; }
  .impact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
}
