:root {
  --ink: #0f1b33;
  --soft: #5a6577;
  --line: #e7eaf0;
  --bg: #ffffff;
  --alt: #f5f7fb;
  --blue: #2f7de1;
  --blue-d: #1b4fb0;
  --navy: #122a5e;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 22px;
  transition: background .16s ease, color .16s ease, transform .12s ease;
}
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-d); }
.btn--lg { padding: 15px 28px; font-size: 16.5px; }
.btn--link { color: var(--blue); padding: 12px 6px; }
.btn--link:hover { color: var(--blue-d); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-1px); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { height: 30px; width: auto; display: block; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 15.5px; color: var(--soft); }
.nav__link:hover { color: var(--ink); }

/* Hero */
.hero { padding: 84px 0 92px; }
.hero__grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 20px;
}
.hero__title {
  font-weight: 800; font-size: clamp(38px, 5vw, 60px); line-height: 1.06;
  letter-spacing: -.03em; margin: 0 0 22px; max-width: 14ch;
}
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--soft); max-width: 52ch; margin: 0 0 32px; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero__panel {
  background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: 20px;
  padding: 44px 36px;
  color: #fff;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__panel-mark { height: 76px; width: auto; filter: brightness(0) invert(1); opacity: .96; }
.hero__panel-text { font-size: 22px; font-weight: 600; line-height: 1.35; margin: 0; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title {
  font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.025em;
  margin: 0 0 44px;
}

/* Service grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.card:hover {
  border-color: #cfd9ec;
  box-shadow: 0 10px 30px rgba(18, 42, 94, 0.06);
  transform: translateY(-2px);
}
.card__title { font-size: 19px; font-weight: 700; margin: 0 0 10px; color: var(--navy); }
.card__title::before {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--blue); margin-bottom: 16px;
}
.card__text { font-size: 15.5px; color: var(--soft); margin: 0; }

/* About */
.about { max-width: 880px; }
.about__lead { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 22px; color: var(--ink); }
.about__text { font-size: 18px; color: var(--soft); margin: 0; max-width: 64ch; }

/* CTA */
.cta { background: var(--navy); }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 56px 0; flex-wrap: wrap;
}
.cta__title { color: #fff; font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.02em; margin: 0; }

/* Footer */
.footer { background: #0c1730; color: #aeb8cc; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--light .brand__name { color: #fff; }
.footer__tag { margin: 16px 0 0; font-size: 15px; color: #8b97b0; }
.footer__label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6f7c97; margin-bottom: 16px; }
.footer__link { display: block; color: #d3dae8; font-size: 16px; margin-bottom: 12px; }
.footer__link:hover { color: #fff; }
.footer__addr { font-size: 15px; line-height: 1.6; color: #8b97b0; margin: 12px 0 0; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 14px; color: #6f7c97; }
.footer__bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__panel { min-height: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .nav { gap: 14px; }
  .nav__link { display: none; }
  .hero { padding: 52px 0 60px; }
  .section { padding: 60px 0; }
  .grid { grid-template-columns: 1fr; }
  .cta__inner { padding: 40px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}
