:root {
  --bg: #050505;
  --panel: #0d0d0d;
  --text: #f6f7f8;
  --muted: #a8adb3;
  --line: #252525;
  --accent: #b8ff2c;
  --accent-deep: #95d41d;
  --card: #f2f3f5;
  --card-text: #0e0e0e;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at 20% -20%, #1a1a1a 0%, var(--bg) 45%), var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.section-gap {
  padding: 3.2rem 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.75);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand,
.section-title,
h1,
h2,
h3,
h4 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.01em;
}

.brand {
  font-size: 1.9rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  color: #d3d7dc;
  font-size: 0.95rem;
}

.nav-item {
  position: relative;
  padding-bottom: 0.45rem;
  margin-bottom: -0.45rem;
}

.nav-item > a,
.nav-links > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.nav-links > a.active,
.nav-item > a.active {
  color: #ffffff;
  font-weight: 700;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  padding: 0.4rem;
  background: rgba(9, 9, 9, 0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  color: #d8dce1;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.dropdown-menu a.active {
  background: #202225;
  color: #ffffff;
  font-weight: 700;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #0b0b0b;
}

.btn-accent:hover {
  background: var(--accent-deep);
}

.btn-outline {
  background: transparent;
  border: 1px solid #cacaca;
  color: #f0f0f0;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.btn-dark {
  background: #0f0f10;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.84) 15%, rgba(0, 0, 0, 0.3) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3.6rem;
}

.hero-card {
  width: min(560px, 100%);
  border: 1px solid #323232;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.72);
  padding: 2rem;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b2b6bc;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
  margin-bottom: 0.95rem;
}

.hero-card p {
  color: #d5d9df;
  max-width: 52ch;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  text-align: center;
  margin-bottom: 0.7rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 2rem;
}

.stats {
  background: linear-gradient(180deg, #070707 0%, #080808 40%, #101010 100%);
  border-top: 1px solid #161616;
  border-bottom: 1px solid #161616;
}


.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  background: var(--card);
  color: var(--card-text);
  border-radius: 14px;
  padding: 1.3rem;
  min-height: 175px;
}

.stat-card h3 {
  font-size: 3.125rem;
  line-height: 0.85;
  margin-bottom: 0.7rem;
}

.stat-card p {
  color: #22242a;
}

.services,
.solutions,
.customers {
  border-bottom: 1px solid #171717;
}

.service-layout {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
}

.service-tabs {
  list-style: none;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  overflow: hidden;
  background: #080808;
}

.service-tabs li {
  padding: 0.86rem 1rem;
  border-bottom: 1px solid #161616;
  color: #b9c0c7;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-tabs li:hover {
  background: #111111;
  color: #f0f2f4;
}

.service-tabs li:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.service-tabs li.active {
  color: #0f1207;
  background: var(--accent);
  font-weight: 700;
}

.service-feature {
  border: 1px solid #262626;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
}

.service-feature img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.feature-body {
  padding: 1.2rem;
}

.feature-body h3,
.case-content h3,
.insight-content h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.65rem;
}

.feature-body p,
.case-content p {
  color: #c3c8cd;
  margin-bottom: 1rem;
}

#serviceCapabilities {
  margin: 0 0 1rem 1.1rem;
  color: #c3c8cd;
}

#serviceCapabilities li {
  margin-bottom: 0.35rem;
}

.chip-row {
  margin: 1.5rem auto;
  border: 1px solid #323232;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem;
  border-radius: 999px;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  appearance: none;
  background: transparent;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  color: #c8cdd3;
  font-size: 0.83rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: #656d78;
  color: #f4f6f8;
}

.chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.chip.active {
  background: #f0f1f3;
  color: #090909;
  border-color: #f0f1f3;
}

.case-card {
  display: grid;
  grid-template-columns: 48% 1fr;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1f1f1f;
  background: #090909;
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.case-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.case-metrics {
  display: flex;
  gap: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.case-metrics strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 0.95;
}

.case-metrics span {
  color: #bfc4ca;
  font-size: 0.88rem;
}

.logo-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

.logo-card {
  min-height: 128px;
  background: #f4f5f7;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid #d8dce1;
}

.logo-card img {
  width: 84%;
  height: 78px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.06);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.logo-card:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.insight-card {
  margin-top: 1.4rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1e1e1e;
  display: grid;
  grid-template-columns: 46% 1fr;
  background: #f4f5f7;
}

.insight-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.insight-content {
  color: #0f1112;
  padding: 1.35rem;
}

.insight-content p {
  color: #30353b;
}

.blog {
  background: #efefef;
  border-bottom: 1px solid #d6d6d6;
}

.blog-title {
  text-align: center;
  color: #111;
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.8rem;
  font-family: "Barlow Condensed", sans-serif;
}

.blog-subtitle {
  text-align: center;
  color: #30343a;
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  padding-bottom: 1rem;
}

.blog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.blog-card h3 {
  color: #121315;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  margin: 1rem 1rem 0.55rem;
}

.blog-card p {
  color: #2f3440;
  margin: 0 1rem;
  line-height: 1.6;
}

.news-link {
  display: inline-block;
  margin: 0.45rem 1rem 0;
  color: #121315;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  background: #050505;
  padding: 2rem 0 2.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid #1f1f1f;
  padding-top: 1.5rem;
}

.footer h3 {
  font-size: 1.9rem;
}

.footer h4 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.footer p {
  color: #bcc2c8;
}

.footer-actions {
  display: flex;
  gap: 0.65rem;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .stat-grid,
  .logo-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-layout,
  .case-card,
  .insight-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-tabs li {
    border-right: 1px solid #151515;
  }
}

@media (max-width: 640px) {
  .section-gap {
    padding: 2.4rem 0;
  }

  .hero {
    min-height: 66vh;
  }

  .hero-card {
    padding: 1.2rem;
  }

  .hero-actions,
  .footer-actions {
    flex-wrap: wrap;
  }

  .stat-grid,
  .logo-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    grid-template-columns: 1fr;
  }

  .case-metrics {
    flex-direction: column;
    gap: 0.5rem;
  }
}
