:root {
  --bg: #0f1720;
  --bg-soft: #16212d;
  --surface: rgba(24, 36, 49, 0.75);
  --surface-strong: #1e2c3b;
  --text: #e7eef5;
  --text-soft: #b6c5d4;
  --accent: #00b8d9;
  --accent-warm: #ffb020;
  --line: rgba(166, 188, 209, 0.22);
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 460px at 8% -8%, rgba(0, 184, 217, 0.26), transparent 58%),
    /*radial-gradient(760px 400px at 96% 6%, rgba(255, 176, 32, 0.18), transparent 48%),*/
    linear-gradient(180deg, #0d151e 0%, #101a25 40%, #0f1720 100%);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 146, 171, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 146, 171, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 35% 20%, black, transparent 76%);
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #78deef;
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(9, 15, 22, 0.74);
  border-bottom: 1px solid rgba(128, 155, 180, 0.16);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
}

.hero {
  padding: 5.6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.2;
  margin: 0;
}

.hero h1 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 5vw, 3.45rem);
  max-width: 19ch;
}

.hero p {
  color: var(--text-soft);
  max-width: 58ch;
  margin: 1.15rem 0 0;
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.68rem 1.12rem;
  font-weight: 600;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(140deg, #00b8d9, #06a8ce);
  color: #03242e;
  box-shadow: 0 12px 28px rgba(0, 184, 217, 0.26);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #031c24;
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(170, 194, 217, 0.38);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  border: 1px solid rgba(131, 160, 186, 0.24);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(34, 50, 66, 0.8), rgba(20, 31, 42, 0.9));
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.cred-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 0.75rem;
}

.cred-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.02);
}

.metrics {
  padding-top: 0;
}

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

.metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}

.metric-value {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  color: #d9f8fe;
}

.metric-label {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.section-intro {
  color: var(--text-soft);
  margin: 0 0 1.5rem;
  max-width: 70ch;
}

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

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 1.2rem;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.card h3 {
  font-size: 1.08rem;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.card:hover,
.card:focus-within {
  border-color: rgba(0, 184, 217, 0.65);
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(2, 15, 20, 0.45);
}

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

.project-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(24, 36, 49, 0.8), rgba(20, 31, 42, 0.92));
}

.project-tag {
  margin: 0;
  color: #98deea;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 600;
}

.project-card h3 {
  margin-top: 0.55rem;
  font-size: 1.2rem;
}

.project-card p {
  color: var(--text-soft);
  margin: 0.7rem 0 0;
}

.project-list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.project-list li {
  margin-bottom: 0.45rem;
}

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

.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: var(--surface);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(0, 184, 217, 0.2);
  color: var(--accent);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.step h3 {
  font-size: 1.03rem;
}

.step p {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: var(--surface-strong);
}

.contact-card p {
  color: var(--text-soft);
  margin-top: 0.6rem;
}

.contact-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.55rem;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid rgba(141, 169, 196, 0.18);
  padding: 1.4rem 0 2rem;
  color: #9eb2c7;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 700ms ease forwards;
}

.reveal-delay-1 {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 240ms;
}

.reveal-delay-3 {
  animation-delay: 360ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .metrics-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .services-grid,
  .process {
    grid-template-columns: 1fr;
  }
}