:root {
  --blue-900: #14245c;
  --blue-800: #1b3a8a;
  --blue-700: #1e40af;
  --blue-600: #2952c4;
  --blue-100: #e9eefb;
  --blue-50: #f3f6fd;
  --purple-100: #f4e9fb;
  --purple-600: #9333ea;
  --green-100: #e3f7ef;
  --green-600: #16a34a;
  --ink-900: #12141c;
  --ink-700: #333646;
  --ink-500: #6b7280;
  --ink-300: #d1d5db;
  --white: #ffffff;
  --bg-soft: #f7f8fb;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-md: 0 10px 30px rgba(20, 36, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 36, 92, 0.14);
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-700);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef0f5;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-link { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.15s ease;
}

.main-nav a:not(.btn):hover { color: var(--blue-700); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--blue-800); }

.btn-soft {
  background: var(--blue-50);
  color: var(--blue-700);
}
.btn-soft:hover { background: var(--blue-100); }

.btn-light {
  background: var(--white);
  color: var(--blue-700);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-ghost-dark {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--ink-300);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-700);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--blue-700); }

.hero-lead {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.hero-check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
}
.hero-check-list svg { color: var(--blue-700); flex-shrink: 0; }

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe6f7, #f4f6fb);
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-card .icon-chip {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-card strong {
  display: block;
  font-size: 14px;
  color: var(--ink-900);
}
.floating-card span {
  font-size: 13px;
  color: var(--ink-500);
}
.progress-track {
  margin-top: 8px;
  height: 6px;
  background: var(--blue-100);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 78%;
  background: var(--blue-700);
  border-radius: 999px;
}

/* ---------- Section shared ---------- */
section { padding: 88px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head.left {
  text-align: left;
  margin: 0;
  max-width: none;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-head p {
  font-size: 17px;
  color: var(--ink-500);
  margin: 0;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ---------- What We Do ---------- */
.what-we-do { background: var(--bg-soft); }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.capability-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.capability-card .card-media {
  height: 190px;
  overflow: hidden;
}
.capability-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.capability-card .card-body { padding: 28px; }
.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-chip.blue { background: var(--blue-100); color: var(--blue-700); }
.icon-chip.purple { background: var(--purple-100); color: var(--purple-600); }
.icon-chip.green { background: var(--green-100); color: var(--green-600); }

.capability-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.capability-card p {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0 0 18px;
}
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Case Studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 40, 0) 30%, rgba(6, 10, 30, 0.85) 100%);
  z-index: 1;
}
.case-card .case-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--white);
}
.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfe0ff;
  margin-bottom: 8px;
}
.case-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--blue-800);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 36, 92, 0.9), rgba(20, 36, 92, 0.96));
  z-index: 0;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 16px;
}
.cta p {
  font-size: 17px;
  color: #dbe4fb;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand { max-width: 340px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img { height: 34px; }
.footer-logo span {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-900);
  line-height: 1.2;
}
.footer-brand p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0 0 20px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  transition: all 0.15s ease;
}
.social-row a:hover { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); }

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
  font-size: 14px;
  color: var(--ink-500);
}
.footer-col a:hover { color: var(--blue-700); }
.footer-col li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col li svg { flex-shrink: 0; color: var(--blue-700); }

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; height: 320px; }
  .hero h1 { font-size: 40px; }
  .capability-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid #eef0f5;
    transform: translateY(-130%);
    transition: transform 0.2s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a:not(.btn) { padding: 12px 0; width: 100%; }
  .main-nav .btn { margin-top: 12px; }
  .nav-toggle { display: block; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 28px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}
