:root {
  --brand-primary: #082d46;
  --brand-primary-soft: #0f4269;
  --brand-accent: #1da1f2;
  --bg-soft: #f5f7fb;
  --card-radius: 18px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --transition-fast: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-soft);
  color: #12212f;
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }

/* ================== NAVBAR ================== */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 45, 70, 0.97);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left { display: flex; align-items: center; gap: 0.8rem; }

.nav-logo { height: 64px; width: auto; border-radius: 10px; }

.nav-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1rem;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 1.4rem; font-size: 0.9rem; align-items: center; }

.nav-links a { opacity: 0.9; position: relative; padding-bottom: 0.2rem; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: #ffffff;
  color: #082d46;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-cta span { font-size: 1.05rem; transform: translateY(1px); }

.nav-toggle {
  display: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 0.25rem 0.45rem;
  font-size: 0.9rem;
  background: transparent;
  color: #ffffff;
}

/* ================== PAGE LAYOUT ================== */
main { padding-top: 6.2rem; } /* space for fixed nav */

/* ================== HERO ================== */
.hero {
  padding: 3.2rem 1.6rem 3.5rem;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text { position: relative; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.85rem 0.3rem 0.4rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(8, 45, 70, 0.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.1rem;
}
.hero-pill-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  font-size: 1.1rem;
}
.hero-pill-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #415b74;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  line-height: 1.08;
  color: var(--brand-primary);
  margin-bottom: 0.9rem;
}
.hero-highlight { color: var(--brand-accent); }

.hero-subtitle {
  font-size: 1.02rem;
  max-width: 34rem;
  color: #42566b;
  margin-bottom: 1.4rem;
}

.hero-tagline-rotator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(8, 45, 70, 0.03);
  border: 1px solid rgba(8, 45, 70, 0.06);
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
  color: #1d3245;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  position: relative;
}
.hero-tagline-label {
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: rgba(8, 45, 70, 0.05);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.tagline-text { display: inline-block; animation: fadeSlide 0.5s ease-out; }
@keyframes fadeSlide { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.btn-primary {
  background: var(--brand-accent);
  border: none;
  color: #082d46;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.03); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }

.btn-outline {
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(8, 45, 70, 0.14);
  padding: 0.78rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: #1e3a52;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.btn-outline:hover { background: #ffffff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #607086;
}
.hero-meta-item { display: flex; align-items: center; gap: 0.4rem; }
.hero-meta-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-accent); }

/* HERO RIGHT PANEL */
.hero-panel { position: relative; padding: 1.4rem; }

.hero-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.5rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 56, 90, 0.06);
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.hero-card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4e6780;
  font-weight: 600;
}
.hero-card-badge {
  font-size: 0.7rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: #f5fafc;
  border: 1px solid rgba(8, 45, 70, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #32506e;
}
.hero-card-badge span {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16c784;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.metric-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(8, 45, 70, 0.04);
  font-size: 0.8rem;
  color: #445970;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #72849a;
  margin-bottom: 0.1rem;
}
.metric-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-primary);
}
.metric-sub {
  font-size: 0.7rem;
  color: #7a8ba0;
  margin-top: 0.1rem;
}

.hero-case-note {
  background: #ffffff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(8,45,70,0.08);
  font-size: 0.82rem;
  color: #3b5268;
  display: grid;
  gap: 0.18rem;
  margin-top: 0.4rem;
}
.case-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #7489a0;
}
.case-highlight { font-weight: 600; }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.25rem; }
.case-tag {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 60, 92, 0.1);
  background: #f6f9ff;
  font-size: 0.72rem;
  color: #42566b;
}

.hero-floating-pill {
  position: absolute;
  right: 0.2rem;
  top: -0.8rem;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  color: #41566b;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  animation: float 5s ease-in-out infinite;
}
.hero-floating-pill span { font-size: 0.95rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ========== SECTION GENERIC STYLES ========== */
section.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.6rem 1.6rem 4rem;
}

.section-header { max-width: 650px; margin-bottom: 2.2rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #6c8199;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.section-title { font-size: 1.7rem; color: var(--brand-primary); margin-bottom: 0.55rem; }
.section-subtitle { font-size: 0.98rem; color: #4c6076; }

/* ========== WHAT WE DO ========== */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 1.1rem 1.2rem 1.15rem;
  border: 1px solid rgba(8, 45, 70, 0.06);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.feature-title { font-weight: 600; margin-bottom: 0.35rem; color: #163553; }
.feature-text { font-size: 0.94rem; color: #54677c; }
.feature-label {
  position: absolute;
  right: 1.05rem;
  top: 1.05rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(8, 45, 70, 0.55);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.pill {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(8, 45, 70, 0.03);
  border: 1px solid rgba(8, 45, 70, 0.06);
  font-size: 0.78rem;
  color: #3b5268;
}

/* ========== APPROACH STEPS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.step-card {
  background: #ffffff;
  color: #1f2e3d;
  border-radius: 20px;
  padding: 1rem 1.1rem 1.1rem;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(8, 45, 70, 0.08);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(8, 45, 70, 0.25);
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}
.step-title { font-weight: 600; margin-bottom: 0.3rem; }
.step-text { font-size: 0.9rem; color: #445970; }
.step-tag {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  color: #7a8aa0;
}

/* ========== RESULTS / CASES ========== */
.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: stretch;
}
.results-highlight {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.2rem 1.4rem 1.4rem;
  border: 1px solid rgba(8, 45, 70, 0.06);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 45, 70, 0.03);
  border: 1px solid rgba(8, 45, 70, 0.07);
  color: #41566b;
}
.results-metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 0.9rem;
}
.results-metric {
  background: #f4f8ff;
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(8, 45, 70, 0.05);
  font-size: 0.84rem;
  color: #44576b;
}
.results-metric strong {
  display: block;
  font-size: 1.05rem;
  color: var(--brand-primary);
  margin-bottom: 0.05rem;
}
.mini-note { font-size: 0.78rem; color: #6c7c8f; margin-top: 0.9rem; }
.case-list { display: grid; gap: 0.9rem; font-size: 0.9rem; color: #4b6076; }
.case-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(8, 45, 70, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}
.case-title { font-weight: 600; color: #163553; display: flex; align-items: center; gap: 0.4rem; }
.case-title span { font-size: 1.1rem; }
.case-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7a8aa0;
}

/* ========== EXPERTISE ========== */
.bio-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid rgba(8, 45, 70, 0.06);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}
.bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}
.bio-name { font-weight: 600; color: #163553; font-size: 1.02rem; }
.bio-role { font-size: 0.86rem; color: #6a7c91; margin-bottom: 0.4rem; }
.bio-text { font-size: 0.92rem; color: #4b6076; margin-bottom: 0.4rem; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.3rem; }
.bio-tag {
  font-size: 0.78rem;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 45, 70, 0.03);
  border: 1px solid rgba(8, 45, 70, 0.06);
  color: #3b5268;
}

/* ========== CONTACT ========== */
.cta { max-width: 1120px; margin: 0 auto 3.5rem; padding: 0 1.6rem; }
.cta-inner {
  border-radius: 26px;
  background: #0b2840;
  color: #eef4ff;
  padding: 1.9rem 1.8rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.cta-title { font-size: 1.65rem; margin-bottom: 0.45rem; }
.cta-text { font-size: 0.96rem; color: #d1e2ff; max-width: 30rem; }
.cta-buttons { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cta-buttons .btn-primary { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.cta-whisper { font-size: 0.8rem; color: #b3c6e2; margin-top: 0.4rem; }
.cta-right { justify-self: flex-end; text-align: right; font-size: 0.86rem; color: #bfd2ef; position: relative; z-index: 1; }
.cta-right-row { margin-bottom: 0.5rem; }
.cta-right a { color: #ffffff; font-weight: 500; }

/* FOOTER */
footer {
  max-width: 1120px;
  margin: 0 auto 1.7rem;
  padding: 0 1.6rem;
  font-size: 0.78rem;
  color: #7b8ca0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px dashed rgba(8, 45, 70, 0.14);
  padding-top: 1rem;
}
footer span { display: inline-flex; align-items: center; gap: 0.3rem; }

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.4rem 1.4rem 3.2rem;
    gap: 2.2rem;
  }
  .nav-inner { padding-inline: 1.1rem; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 0.8rem 1.4rem 1rem;
    background: rgba(8,45,70,0.98);
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  }
  .nav-links.open { display: flex; }
  .nav-cta { width: 100%; justify-content: center; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.3rem; }
  .nav-logo { height: 56px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .results-grid, .two-col, .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { text-align: left; }
  .cta-right { justify-self: flex-start; text-align: left; }
  section.page, .cta, footer { padding-inline: 1.1rem; }
}
@media (max-width: 480px) {
  .hero { padding-inline: 1rem; }
  .hero h1 { font-size: 2.1rem; }
  .section-title { font-size: 1.4rem; }
  section.page { padding-inline: 1rem; }
  .hero-tagline-rotator { font-size: 0.82rem; }
  .bio-card { grid-template-columns: minmax(0,1fr); justify-items: flex-start; }
}
