:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --primary: #0f6fff;
  --primary-dark: #0b52bf;
  --text: #10203f;
  --muted: #5e6f95;
  --border: #dde5f5;
  --shadow: 0 18px 50px rgba(16, 32, 63, 0.08);
  --radius: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(245, 247, 251, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  background: var(--primary);
  color: #fff;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.brand-text {
  color: var(--text);
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  padding: 88px 0;
  background:
    radial-gradient(circle at top right, rgba(15, 111, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #f7f9ff 0%, var(--bg) 100%);
}

.hero-grid,
.about-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero h1,
.about h2,
.services h2,
.portfolio h2,
.process h2,
.contact h2 {
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-text,
.about p,
.services p,
.project-card p,
.process p,
.contact p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.8rem;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card-top,
.hero-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
}

.hero-card-top span,
.hero-card-bottom span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card-bottom {
  background: var(--surface-alt);
}

.about,
.services,
.process,
.contact {
  padding: 84px 0;
}

.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.services-grid article,
.process-grid div {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.services-grid h3,
.process-grid h3 {
  margin-bottom: 10px;
}

.portfolio {
  padding: 84px 0 40px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card div {
  padding: 18px;
}

.project-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-panel {
  background: linear-gradient(90deg, #0f6fff, #0b52bf);
  color: #fff;
  padding: 42px;
  border-radius: 28px;
}

.contact-panel p,
.contact-panel .eyebrow {
  color: #dfe9ff;
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-panel,
  .portfolio-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats,
  .portfolio-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-panel {
    padding: 32px 22px;
  }
}
