:root {
  --navy-950: #070f2e;
  --navy-900: #0b1a4a;
  --navy-800: #102466;
  --blue-700: #15308f;
  --blue-600: #1d40b0;
  --blue-300: #8ea6ef;
  --ink: #111a33;
  --muted: #56607a;
  --line: #d9dfec;
  --paper: #ffffff;
  --mist: #f3f5fa;
  --radius: 10px;
  --container: 1160px;
  --font-head: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { margin-bottom: 44px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--blue-600); }
.lead { font-size: 1.08rem; color: rgba(255, 255, 255, 0.78); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--navy-800); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--mist); }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(11, 26, 74, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  letter-spacing: 0.08em; color: var(--navy-900); line-height: 1;
  display: flex; flex-direction: column;
}
.brand-text small { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.32em; color: var(--blue-600); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink);
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue-600); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav a:not(.btn):hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--blue-600); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--blue-700) 100%);
  padding: clamp(72px, 11vw, 140px) 0 0;
}
.hero-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(105deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 90px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 800; margin-bottom: 24px; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-mark { justify-self: end; width: min(100%, 360px); opacity: 0.14; }
.hero-mark img { width: 100%; }

.facts {
  position: relative; list-style: none; margin: clamp(64px, 9vw, 110px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.facts li {
  padding: 26px 24px 30px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
}
.facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.facts span {
  display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 6px;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--blue-700) 100%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; text-transform: uppercase; }
.page-hero .lead { margin: 18px 0 0; }

/* Shared section variants */
.section-dark { background: var(--navy-950); color: #fff; }
.section-mist { background: var(--mist); }
.h-dark { color: var(--navy-900); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.link-arrow { font-weight: 600; color: var(--blue-600); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow-light { color: var(--blue-300); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); }
.about-text { color: var(--muted); font-size: 1.05rem; }

/* Home pillars */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed rgba(142, 166, 239, 0.4); border-left: 1px dashed rgba(142, 166, 239, 0.4);
}
.pillar { padding: 34px 30px 38px; border-right: 1px dashed rgba(142, 166, 239, 0.4); border-bottom: 1px dashed rgba(142, 166, 239, 0.4); }
.pillar .num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--blue-300); margin-bottom: 22px; }
.pillar h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 12px; }
.pillar p { color: rgba(255, 255, 255, 0.68); margin: 0; }

/* Services */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed rgba(142, 166, 239, 0.4); border-left: 1px dashed rgba(142, 166, 239, 0.4);
}
.service {
  padding: 34px 30px 38px;
  border-right: 1px dashed rgba(142, 166, 239, 0.4); border-bottom: 1px dashed rgba(142, 166, 239, 0.4);
  transition: background-color .25s;
}
.service:hover { background: rgba(29, 64, 176, 0.22); }
.service .num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--blue-300); margin-bottom: 22px; }
.service h3 { text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.01em; }
.service p { color: rgba(255, 255, 255, 0.68); font-size: 0.95rem; margin: 0; }

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.office {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
}
.office-body { padding: 30px 30px 26px; flex: 1; }
.office .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: var(--blue-700); padding: 5px 10px; border-radius: 4px; margin-bottom: 16px;
}
.office h3 { font-size: 1.45rem; color: var(--navy-900); margin-bottom: 12px; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 12px; }
.office-tel { font-weight: 600; margin-bottom: 14px; }
.office-tel a { text-decoration: none; color: var(--blue-600); }
.map-link { font-weight: 600; font-size: 0.92rem; color: var(--blue-600); text-decoration: none; }
.map-link:hover { text-decoration: underline; }
.office-map { width: 100%; height: 320px; border: 0; display: block; background: var(--line); }
.office-mini { display: block; padding: 30px 30px 18px; }
.office-mini .office-tel { margin-bottom: 0; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--blue-700), var(--navy-900)); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.contact-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.contact-box .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: var(--blue-700); padding: 5px 10px; border-radius: 4px; margin-bottom: 16px;
}
.contact-box h3 { font-size: 1.3rem; color: var(--navy-900); margin-bottom: 14px; }
.contact-phone {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--blue-700); text-decoration: none; margin-bottom: 14px;
}
.contact-phone:hover { color: var(--navy-900); }
.contact-box address { font-style: normal; color: var(--muted); }
.contact-maplink { display: inline-block; margin-top: 28px; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 36px 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 36px; height: auto; }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-head); letter-spacing: 0.06em; }
.footer-brand span { font-size: 0.8rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copy { margin: 0; width: 100%; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; }

/* Responsive */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; box-shadow: 0 12px 24px rgba(11, 26, 74, 0.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 14px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { position: absolute; right: -40px; top: -30px; width: 220px; opacity: 0.08; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .service-grid, .office-grid, .pillars, .contact-grid { grid-template-columns: 1fr; }
  .service, .pillar { padding: 28px 22px 30px; }
  .office-body, .office-mini, .contact-box { padding: 24px 22px 22px; }
  .office-map { height: 260px; }
}
