:root {
  --navy: #0b3e91;
  --blue: #1f63ea;
  --ink: #0d1b2a;
  --muted: #58677a;
  --line: #dfe7f1;
  --surface: #f5f8fc;
  --white: #ffffff;
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223,231,241,.86);
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 226px; height: auto; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { text-decoration: none; font-weight: 650; font-size: .96rem; color: #26364a; }
nav a:hover, nav a:focus-visible { color: var(--blue); }

.hero {
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 15% 25%, rgba(31,99,234,.09), transparent 34%),
    radial-gradient(circle at 85% 65%, rgba(11,62,145,.07), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.hero::before, .hero::after {
  position: absolute;
  color: rgba(31,99,234,.055);
  font-size: clamp(18rem, 38vw, 40rem);
  line-height: .8;
  font-weight: 300;
  pointer-events: none;
}
.hero::before { content: "<"; left: -4vw; top: 14%; }
.hero::after { content: ">"; right: -4vw; bottom: 4%; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 870px;
  text-align: center;
  padding: 90px 0 100px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--navy);
}
.hero h1 span { display: block; color: var(--blue); font-weight: 500; }
.hero p {
  max-width: 690px;
  margin: 30px auto 0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: var(--muted);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--navy);
}
.button.secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.button:hover { transform: translateY(-1px); }

.section { padding: 104px 0; }
.section.alt { background: var(--surface); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading .kicker { margin: 0 0 8px; color: var(--blue); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.045em; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: start; }
.about-copy { font-size: 1.18rem; color: #314158; }
.about-copy p:first-child { margin-top: 0; }
.facts { display: grid; gap: 14px; }
.fact {
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.fact strong { display: block; color: var(--navy); }
.fact span { color: var(--muted); font-size: .94rem; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(11,62,145,.055);
}
.project-index { color: var(--blue); font-weight: 800; font-size: .82rem; letter-spacing: .14em; }
.project-card h3 { margin: 46px 0 12px; color: var(--navy); font-size: 1.65rem; line-height: 1.12; }
.project-card p { margin: 0; color: var(--muted); }
.project-meta { margin-top: auto; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); color: #607188; font-size: .86rem; }
.status { color: var(--blue); font-weight: 800; }

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: end;
  padding: 48px;
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
}
.contact-card h2 { color: #fff; }
.contact-card p { color: rgba(255,255,255,.74); max-width: 650px; }
.contact-card a.email { color: #fff; font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact-side { text-align: right; color: rgba(255,255,255,.72); }

footer { padding: 34px 0; border-top: 1px solid var(--line); color: #68788c; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

.legal-main { min-height: 65vh; }
.legal-hero { padding: 90px 0 45px; background: var(--surface); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
.legal-content { max-width: 820px; padding: 64px 0 100px; }
.legal-content h2 { margin-top: 45px; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #435268; }
.notice { padding: 18px 20px; border-radius: 14px; background: #fff8e8; border: 1px solid #f0d794; color: #6b5418; }

@media (max-width: 850px) {
  .header-inner { min-height: 70px; }
  .brand img { width: 184px; }
  nav { gap: 14px; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: 570px; }
  .section { padding: 78px 0; }
  .about-grid, .contact-card { grid-template-columns: 1fr; gap: 32px; }
  .projects { grid-template-columns: 1fr; }
  .project-card { min-height: 280px; }
  .contact-side { text-align: left; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  nav a:not(:last-child) { display: none; }
  .brand img { width: 168px; }
  .hero-content { padding: 72px 0 82px; }
  .hero p { font-size: 1.04rem; }
  .contact-card { padding: 30px 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
