:root {
  --page: #f7f9fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #556070;

  --brand: #2f4c8c;
  --brand-2: #244074;
  --accent: #ff6a2f;

  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.08);

  --radius: 16px;
  --max: 1120px;
}

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

body {
  background: var(--page);
  color: var(--text);
  line-height: 1.55;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

/* ===== Navbar (logo centered, nav right) ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 0;
  gap: 12px;
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.brand-text {
  font-weight: 650;           /* less blocky */
  font-size: 20px;
  letter-spacing: -0.015em;
  color: rgba(15, 23, 42, 0.92);
}

.nav-links {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.78);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
  color: rgba(15, 23, 42, 1);
}

/* ===== Hero (subtle gradient, no glow) ===== */
.hero {
  color: white;
  text-align: center;
  padding: 84px 0 76px;

  /* NO radial glow — just a subtle linear gradient */
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 55%, #1f3564 100%);
}

.hero-content {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.hero h1 {
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700; /* less blocky than 800 */
  max-width: 900px;
}

.hero p {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 760px;
}

/* Buttons (less “big orange brick”) */
.btn {
  background: var(--accent);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;       /* modern pill */
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(255, 106, 47, 0.22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 18px 38px rgba(255, 106, 47, 0.26);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 106, 47, 0.35);
  outline-offset: 3px;
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
  text-align: center;
}

.section h2 {
  font-size: clamp(22px, 2.3vw, 32px);
  letter-spacing: -0.02em;
  font-weight: 600; /* fixes “blocky” look */
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}

.section.alt {
  background: rgba(255, 255, 255, 0.70);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===== Grid + Cards (less template) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
  color: rgba(15, 23, 42, 0.92);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Contact spacing */
.contact .lead { margin-bottom: 18px; }

/* Footer */
footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.86);
  padding: 26px 0;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* Responsive */
@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 32px)); }

  .nav-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 14px 0;
  }

  .brand { grid-column: 1; }
  .nav-links {
    grid-column: 1;
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .logo { width: 72px; height: 72px; }
  .brand-text { font-size: 19px; }

  .section { padding: 60px 0; }
}
