:root {
  --bg: #0c1119;
  --bg-soft: #f4f6f9;
  --surface: #ffffff;
  --text: #152033;
  --muted: #5b667a;
  --line: rgba(21, 32, 51, 0.1);
  --primary: #3146b7;
  --primary-dark: #24358f;
  --accent: #dfe5ff;
  --shadow: 0 18px 45px rgba(15, 28, 58, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(21,32,51,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.brand img { height: 62px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--muted);
}
.main-nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(49,70,183,0.18), transparent 38%),
    linear-gradient(180deg, #f8faff 0%, #eef2fb 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.eyebrow, .section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px;
}
.hero h1, .section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); max-width: 10.5ch; }
.hero-text {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 650px;
  margin: 20px 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--primary); color: #fff; }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { border: 1px solid rgba(49,70,183,0.2); background: #fff; }
.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
}
.hero-stats li {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(49,70,183,0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero-stats strong { display: block; font-size: 1rem; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }
.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(16,30,62,0.18);
}
.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.section { padding: 96px 0; }
.light { background: var(--bg-soft); }
.two-col, .ongoing-grid, .contact-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 48px;
  align-items: center;
}
.section h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 13ch; }
.section p { color: var(--muted); }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
}
.image-stack { position: relative; }
.rounded {
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.floating-card {
  position: absolute;
  bottom: -26px;
  right: -10px;
  max-width: 320px;
  background: white;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.floating-card h3, .service-card h3, .project-body h3, .value-card h3 { margin-top: 0; }
.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-heading.narrow { max-width: 820px; }
.card-grid {
  display: grid;
  gap: 22px;
}
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.service-card, .value-card {
  background: white;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(21,32,51,0.06);
  box-shadow: var(--shadow);
}
.service-card h3, .value-card h3 { font-size: 1.14rem; }

.project-showcase { display: grid; gap: 30px; }
.project-large {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 28px;
  align-items: stretch;
  background: white;
  border: 1px solid rgba(21,32,51,0.06);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-large.reverse { grid-template-columns: 1.02fr 0.98fr; }
.project-large.reverse .project-media { order: 1; }
.project-large.reverse .project-body { order: 2; }
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}
.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.project-body { padding: 34px 34px 34px 6px; align-self: center; }
.status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status.done { background: #e9f8ee; color: #19643a; }

.dark {
  background: linear-gradient(135deg, #0f1730 0%, #182349 100%);
  color: white;
}
.dark p { color: rgba(255,255,255,0.78); }
.light-label { color: #c7d4ff; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin: 30px 0;
}
.metric {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
}
.metric strong { display: block; font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.timeline {
  display: grid;
  gap: 14px;
}
.timeline div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.timeline span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-weight: 700;
}
.ongoing-media img {
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(2, 6, 20, 0.35);
}
.contact-box {
  background: white;
  border-radius: 28px;
  padding: 42px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(21,32,51,0.06);
}
.contact-details {
  display: grid;
  gap: 18px;
}
.contact-details div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.site-footer {
  padding: 26px 0 36px;
  border-top: 1px solid rgba(21,32,51,0.06);
  background: #fff;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-wrap img { height: 56px; }
.footer-wrap p { color: var(--muted); margin: 0; }

@media (max-width: 1080px) {
  .hero-grid,
  .two-col,
  .ongoing-grid,
  .contact-box,
  .project-large,
  .project-large.reverse {
    grid-template-columns: 1fr;
  }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid.three { grid-template-columns: 1fr; }
  .project-large.reverse .project-media,
  .project-large.reverse .project-body { order: initial; }
  .project-body { padding: 0 28px 28px; }
  .project-media img { min-height: 340px; }
  .hero-card img { min-height: 520px; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .hero { padding-top: 40px; }
  .hero-stats,
  .metrics,
  .card-grid.four,
  .split-media {
    grid-template-columns: 1fr;
  }
  .section { padding: 74px 0; }
  .floating-card {
    position: static;
    margin-top: 18px;
    max-width: none;
  }
  .contact-box { padding: 28px; }
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
