:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3fb;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --primary: #1d4ed8;
  --primary-dark: #0b1f5e;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f2f6fb 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(219, 228, 240, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand-logo { height: 44px; width: auto; }
.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 500;
}
.menu a:hover { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.25);
}
.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--line);
}
.btn-small { padding: 11px 16px; border-radius: 14px; }

.hero {
  padding: 72px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 36px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.02;
  margin: 14px 0 18px;
  letter-spacing: -0.04em;
}
.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 680px;
}
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-badges {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.badge-card {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 18px;
}
.badge-card strong { display: block; margin-bottom: 8px; }
.badge-card span { color: var(--muted); line-height: 1.5; font-size: .95rem; }

.hero-visual {
  display: grid;
  gap: 18px;
}
.hero-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 228, 240, 0.9);
}
.dark-panel {
  background: #05070d;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 32px;
}
.hero-logo { max-width: 82%; }
.image-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.section { padding: 88px 0; }
.section-muted { background: rgba(238, 243, 251, 0.65); }
.section-heading {
  margin-bottom: 34px;
}
.section-heading.narrow { max-width: 720px; }
.section-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 2.4vw, 3rem);
  letter-spacing: -0.03em;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.cards-grid {
  display: grid;
  gap: 22px;
}
.cards-grid.three,
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.service-card { padding: 28px; }
.service-card h3,
.project-body h3,
.feature-copy h3 { margin: 0 0 12px; font-size: 1.35rem; }
.service-card p,
.project-body p,
.feature-copy p { color: var(--muted); line-height: 1.75; margin: 0; }

.feature-project {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: center;
  margin: 12px 0 28px;
}
.feature-copy {
  background: #0b1220;
  color: #fff;
  padding: 34px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.feature-copy p { color: rgba(255,255,255,.78); }
.feature-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7fb0ff;
}
.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.88);
  line-height: 1.8;
}
.feature-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.feature-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }

.project-card { overflow: hidden; }
.project-card img { width: 100%; height: 260px; object-fit: cover; }
.project-body { padding: 22px; }

.cta-panel {
  background: linear-gradient(135deg, #0c1730 0%, #133887 100%);
  color: #fff;
  border-radius: 30px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
.cta-panel h2 { margin: 10px 0 10px; font-size: clamp(1.8rem, 2.3vw, 2.8rem); }
.cta-panel p { margin: 0; color: rgba(255,255,255,.8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer {
  background: #09111f;
  color: rgba(255,255,255,.86);
  padding: 40px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 22px;
}
.footer-logo { height: 48px; width: auto; background: #fff; padding: 6px 10px; border-radius: 14px; }
.footer-text { color: rgba(255,255,255,.72); }
.site-footer h4 { margin: 0 0 10px; color: #fff; }
.site-footer p { margin: 7px 0; color: rgba(255,255,255,.72); }

@media (max-width: 980px) {
  .hero-grid,
  .feature-project,
  .cards-grid.three,
  .projects-grid,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel { align-items: flex-start; }
  .menu { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .section { padding: 72px 0; }
  .hero-badges { grid-template-columns: 1fr; }
  .brand-logo { height: 38px; }
  .nav { min-height: 74px; }
  .container { width: min(1120px, calc(100% - 22px)); }
}
