/* ─── Reset & Tokens ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:    #0F1C2E;
  --teal:    #00D1B2;
  --teal-lo: rgba(0,209,178,.10);
  --teal-md: rgba(0,209,178,.18);
  --off:     #F8F8F6;
  --white:   #FFFFFF;
  --muted:   #60728A;
  --border:  rgba(15,28,46,.09);
  --font-h:  'Poppins', sans-serif;
  --font-b:  'Poppins', sans-serif;
  --max:     1240px;
  --ease:    cubic-bezier(.22,.68,0,1.1);
}

body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Utility ────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(24px, 5vw, 72px); }
.teal { color: var(--teal); }
.tag {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

/* fade-up on scroll — only hidden when JS is running */
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js-ready .reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .28s; }
.reveal-d4 { transition-delay: .38s; }

/* ─── Language switcher ──────────────────────────────────── */
.lang-switch {
  position: fixed; top: 16px; right: 16px; z-index: 300;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 5px 10px 5px 8px;
  box-shadow: 0 2px 12px rgba(15,28,46,.08);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.lang-switch:hover { box-shadow: 0 4px 20px rgba(15,28,46,.13); transform: translateY(-1px); }
.lang-switch img { width: 20px; height: 14px; display: block; border-radius: 2px; object-fit: cover; }
.lang-switch span {
  font-family: var(--font-h); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(15,28,46,.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
}
.nav-logo {
  font-family: var(--font-h);
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy); text-decoration: none;
  letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-logo svg { flex-shrink: 0; display: block; }
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--font-b); font-size: .88rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 9px 20px; font-weight: 600 !important;
  font-size: .84rem !important;
  transition: background .2s, color .2s !important;
}
.nav-cta:hover { background: var(--teal) !important; color: var(--navy) !important; }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--white);
  position: relative; overflow: hidden;
  padding-top: 80px;
}

/* Subtle grid */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black 30%, transparent 100%);
}

/* Teal orb */
#hero::after {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0,209,178,.12) 0%, transparent 70%);
  top: -80px; right: -120px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-b); font-size: .8rem; font-weight: 600;
  color: var(--muted); letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 2px;
  background: var(--teal);
}

.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: normal;
  position: relative; display: inline-block;
}
.hero-h1 em::after {
  content: '';
  position: absolute; left: 0; bottom: -12px; right: 0;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.1rem; font-weight: 400;
  color: var(--muted); line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-b); font-weight: 700; font-size: .92rem;
  padding: 14px 28px;
  text-decoration: none;
  border: 2px solid var(--teal);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: #00BFA6; border-color: #00BFA6;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,209,178,.28);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-b); font-weight: 600; font-size: .92rem;
  padding: 13px 24px;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--navy); }

/* Hero visual */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-svg {
  width: 100%; max-width: 480px; height: auto; display: block;
}
.hv-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(15,28,46,.07);
  overflow: hidden;
}
.hv-card.c1 {
  width: 280px; height: 170px;
  top: 20px; left: 40px;
  animation: float1 5s ease-in-out infinite;
}
.hv-card.c2 {
  width: 200px; height: 130px;
  bottom: 60px; right: 30px;
  animation: float2 6s ease-in-out infinite;
}
.hv-card.c3 {
  width: 140px; height: 90px;
  top: 160px; right: 80px;
  animation: float3 4.5s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hv-bar { height: 6px; background: var(--teal); }
.hv-body { padding: 16px 18px; }
.hv-label {
  font-family: var(--font-h); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.hv-chart {
  display: flex; align-items: flex-end; gap: 5px; height: 60px;
}
.hv-bar-col {
  flex: 1; border-radius: 2px 2px 0 0;
  background: var(--border);
}
.hv-bar-col.hi { background: var(--teal); }
.hv-mini-row { display: flex; gap: 6px; margin-bottom: 6px; }
.hv-pill {
  height: 8px; border-radius: 4px;
  background: var(--border);
}
.hv-pill.a { width: 60%; background: var(--teal-md); }
.hv-pill.b { width: 35%; }
.hv-dot-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.hv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hv-line { flex: 1; height: 1px; background: var(--border); }
.hv-num {
  font-family: var(--font-h); font-size: 1.5rem; font-weight: 800;
  color: var(--navy);
}
.hv-sub-label { font-size: .7rem; color: var(--muted); margin-top: 2px; }

/* ─── SECTION SHARED ─────────────────────────────────────── */
section { padding-block: clamp(72px, 9vw, 120px); }
.section-label {
  font-family: var(--font-h); font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.1; color: var(--navy);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted); font-weight: 400;
  max-width: 520px; line-height: 1.7;
}
hr.rule {
  border: none; border-top: 1px solid var(--border);
  margin-block: 0;
}

/* ─── WHAT WE DO ─────────────────────────────────────────── */
#capabilities { background: var(--off); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 56px;
  border: 1px solid var(--border);
}
.cap-card {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
  transition: background .25s;
}
.cap-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.cap-card:hover { background: #FEFEFE; }
.cap-card:hover::before { transform: scaleX(1); }
.cap-num {
  font-family: var(--font-h); font-size: .75rem; font-weight: 700;
  color: var(--teal); letter-spacing: .08em; margin-bottom: 18px;
}
.cap-title {
  font-family: var(--font-h); font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; line-height: 1.3;
}
.cap-body {
  font-size: .875rem; color: var(--muted); line-height: 1.65; font-weight: 400;
}

/* ─── APPROACH ───────────────────────────────────────────── */
#approach { background: var(--white); }
.approach-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  margin-top: 56px;
}
.approach-pillars { display: flex; flex-direction: column; gap: 0; }
.pillar {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.pillar:first-child { padding-top: 0; }
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--teal-lo);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-h); font-size: .78rem; font-weight: 800;
  color: var(--teal); letter-spacing: .04em;
}
.pillar-h {
  font-family: var(--font-h); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.pillar-p { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.approach-statement {
  padding: 44px;
  background: var(--navy);
  color: var(--white);
  position: relative; overflow: hidden;
}
.approach-statement::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,209,178,.15) 0%, transparent 70%);
  bottom: -80px; right: -80px; border-radius: 50%;
}
.as-quote {
  font-family: var(--font-h); font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800; line-height: 1.25; letter-spacing: -.02em;
  color: var(--white); margin-bottom: 24px; position: relative; z-index: 1;
}
.as-quote strong { color: var(--teal); }
.as-sub {
  font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.65;
  position: relative; z-index: 1;
}
.as-divider {
  width: 40px; height: 3px; background: var(--teal);
  margin: 28px 0; position: relative; z-index: 1;
}

/* ─── PROCURO ─────────────────────────────────────────────── */
#procuro { background: var(--off); }
.procuro-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.procuro-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--teal);
  padding: 6px 14px; margin-bottom: 24px;
}
.procuro-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.procuro-badge-txt {
  font-family: var(--font-h); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
}
.procuro-h2 {
  font-family: var(--font-h); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--navy); margin-bottom: 20px;
}
.procuro-p {
  font-size: .97rem; color: var(--muted); line-height: 1.75;
  margin-bottom: 32px;
}
.procuro-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.procuro-feats li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .88rem; color: var(--navy); font-weight: 400;
}
.procuro-feats li::before {
  content: '→'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.procuro-visual {
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(15,28,46,.07);
  padding: 32px;
  position: relative;
}
.pv-top-bar {
  display: flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.pv-dot { width: 8px; height: 8px; border-radius: 50%; }
.pv-label {
  margin-left: auto;
  font-family: var(--font-h); font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.pv-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px;
}
.pv-stat {
  background: var(--off);
  padding: 16px;
}
.pv-stat-num {
  font-family: var(--font-h); font-size: 1.6rem; font-weight: 800;
  color: var(--navy);
}
.pv-stat-lbl { font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.pv-chart-row { display: flex; flex-direction: column; gap: 8px; }
.pv-row { display: flex; align-items: center; gap: 12px; font-size: .76rem; color: var(--muted); }
.pv-bar-wrap { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.pv-fill { height: 100%; background: var(--teal); border-radius: 3px; transition: width 1.5s var(--ease); }
.pv-val { font-weight: 600; color: var(--navy); min-width: 32px; text-align: right; font-size: .75rem; }

/* ─── CASE ───────────────────────────────────────────────── */
#case { background: var(--white); }
.case-inner {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 72px; align-items: start;
}
.case-tag {
  font-family: var(--font-h); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.case-h {
  font-family: var(--font-h); font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  color: var(--navy); margin-bottom: 20px;
}
.case-industry {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--muted);
  margin-bottom: 28px;
}
.case-industry-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.case-desc {
  font-size: .92rem; color: var(--muted); line-height: 1.75; margin-bottom: 28px;
}
.case-stack {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.case-chip {
  font-family: var(--font-h); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--muted);
  padding: 5px 12px;
}
.case-outcomes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--border); border: 1px solid var(--border);
  margin-bottom: 40px;
}
.case-out {
  background: var(--white); padding: 28px 24px;
}
.case-out-num {
  font-family: var(--font-h); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.04em;
  color: var(--navy); display: block; margin-bottom: 4px;
}
.case-out-num span { color: var(--teal); }
.case-out-lbl { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.case-process { margin-top: 36px; }
.case-step {
  display: flex; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.case-step:last-child { border-bottom: none; }
.step-n {
  font-family: var(--font-h); font-size: .7rem; font-weight: 700;
  color: var(--teal); width: 20px; flex-shrink: 0; margin-top: 2px;
}
.step-body {}
.step-title { font-family: var(--font-h); font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step-desc { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ─── TECHNOLOGIES ───────────────────────────────────────── */
#tech { background: var(--off); }
.tech-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px; gap: 32px;
}
.tech-pills {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.tech-pill {
  font-family: var(--font-h); font-size: .8rem; font-weight: 700;
  letter-spacing: .03em;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--border);
  padding: 11px 20px;
  box-shadow: 0 2px 8px rgba(15,28,46,.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tech-pill:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(0,209,178,.15);
  transform: translateY(-2px);
}

/* ─── CTA ────────────────────────────────────────────────── */
#cta {
  background: var(--navy);
  padding-block: clamp(80px, 10vw, 130px);
  position: relative; overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,209,178,.08) 0%, transparent 60%);
  top: -300px; left: -200px; border-radius: 50%;
  pointer-events: none;
}
#cta::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,209,178,.06) 0%, transparent 60%);
  bottom: -200px; right: -100px; border-radius: 50%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-h2 {
  font-family: var(--font-h); font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.08;
  color: var(--white); margin-bottom: 20px;
}
.cta-h2 strong { color: var(--teal); }
.cta-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.6);
  max-width: 460px; margin-inline: auto; margin-bottom: 44px; line-height: 1.65;
}
.cta-email {
  font-size: .88rem; color: rgba(255,255,255,.4);
  margin-top: 20px; font-weight: 400;
}
.cta-email a { color: rgba(255,255,255,.65); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-block: 36px;
}
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-logo {
  font-family: var(--font-h);
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy); text-decoration: none;
  letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 10px;
}
.foot-logo span { color: var(--teal); }
.foot-links { display: flex; gap: 28px; }
.foot-links a {
  font-size: .82rem; color: var(--muted); text-decoration: none;
  font-weight: 500; transition: color .2s;
}
.foot-links a:hover { color: var(--navy); }
.foot-copy { font-size: .78rem; color: var(--muted); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-svg { max-width: 340px; }
  .approach-grid,
  .procuro-inner,
  .case-inner { grid-template-columns: 1fr; gap: 48px; }
  .tech-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .case-outcomes { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hv-card.c2, .hv-card.c3 { display: none; }
}
