:root {
  --ink: #17212b;
  --muted: #657180;
  --paper: #ffffff;
  --mist: #f4f7f9;
  --line: #d9e1e8;
  --navy: #0f2d45;
  --blue: #1f6fa8;
  --teal: #24a099;
  --gold: #d7a842;
  --green: #237d62;
  --shadow: 0 22px 60px rgba(12, 29, 46, 0.16);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

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

.topbar {
  background: var(--navy);
  color: #dbe9f3;
  font-size: 0.9rem;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar__inner div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a { color: #ffffff; font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 225, 232, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--blue) 60%, var(--teal));
  font-weight: 950;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #2e3b48;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links .is-active {
  color: var(--blue);
  background: #eef6fb;
  outline: none;
}

.nav__group { position: relative; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.nav__group:hover .nav__dropdown,
.nav__group:focus-within .nav__dropdown {
  display: grid;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: #185d90;
  box-shadow: 0 16px 32px rgba(31, 111, 168, 0.22);
  outline: none;
}

.btn--small { min-height: 42px; padding: 11px 14px; font-size: 0.9rem; }
.btn--light { background: #ffffff; border-color: #ffffff; color: var(--navy); }
.btn--light:hover { background: #f2f7fb; color: var(--navy); }

.hero {
  min-height: 78svh;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 31, 50, 0.92), rgba(13, 50, 73, 0.72) 48%, rgba(13, 50, 73, 0.3)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=2200&q=86") center/cover;
}

.hero__grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 1fr);
  gap: 44px;
  align-items: center;
  padding: 70px 0 50px;
}

.hero h1,
.page-hero h1 {
  margin: 16px 0;
  max-width: 850px;
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 950;
}

.hero p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 26px;
  color: #e3eef5;
  font-size: 1.18rem;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  gap: 12px;
  align-self: end;
}

.hero__stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.hero__stats strong {
  display: block;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.hero__stats span {
  display: block;
  margin-top: 8px;
  color: #ddecf2;
  font-weight: 760;
}

.page-hero {
  padding: 96px 0 108px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=2000&q=86") center/cover;
}

.page-hero--about { background-image: linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)), url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=2000&q=86"); }
.page-hero--services { background-image: linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)), url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=2000&q=86"); }
.page-hero--mediation { background-image: linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)), url("https://images.unsplash.com/photo-1573497491765-dccce02b29df?auto=format&fit=crop&w=2000&q=86"); }
.page-hero--restructuring { background-image: linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)), url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=2000&q=86"); }
.page-hero--capital { background-image: linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)), url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=2000&q=86"); }
.page-hero--gov { background-image: linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)), url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=2000&q=86"); }
.page-hero--contact { background-image: linear-gradient(90deg, rgba(9, 31, 50, 0.9), rgba(13, 50, 73, 0.64)), url("https://images.unsplash.com/photo-1573164574397-dd250bc8a598?auto=format&fit=crop&w=2000&q=86"); }

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow { color: #aee5df; }
.kicker { color: var(--blue); }

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.section { padding: 86px 0; }
.section--tight { padding: 48px 0; }
.section--muted { background: var(--mist); }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin: 8px 0 14px;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1.04;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.18;
}

h4 { margin: 0 0 12px; color: #ffffff; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { color: #4c5d6d; font-size: 1.08rem; }

.proof-strip { background: var(--navy); color: #ffffff; }

.proof-grid,
.card-grid,
.feature-grid,
.process-grid,
.data-grid {
  display: grid;
  gap: 18px;
}

.proof-grid { grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 24px; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; background: #123551; }
.proof-grid strong { display: block; color: #ffffff; }
.proof-grid span { display: block; margin-top: 8px; color: #cde1ed; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.image-card {
  width: 100%;
  min-height: 380px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.highlight-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: #fff8e8;
  color: #463915;
  font-weight: 800;
}

.card-grid--four { grid-template-columns: repeat(4, 1fr); }
.card-grid--two { grid-template-columns: repeat(2, 1fr); }

.service-card,
.service-tile,
.feature-grid > div,
.process-step,
.data-grid > div,
.contact-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 47, 69, 0.08);
}

.service-card { overflow: hidden; }
.service-card img { width: 100%; height: 178px; object-fit: cover; }
.service-card div { padding: 20px; }

.service-tile {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.service-tile img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.service-tile div { padding: 30px; }

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid > div { padding: 24px; }

.process-grid { grid-template-columns: repeat(3, 1fr); }
.process-step { padding: 28px; }
.process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e9f4fb;
  color: var(--blue);
  font-weight: 950;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #344554;
  font-weight: 760;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
}

.data-grid { grid-template-columns: repeat(3, 1fr); }
.data-grid > div { padding: 22px; }
.data-grid strong { display: block; color: var(--navy); }
.data-grid span { display: block; margin-top: 6px; color: var(--muted); font-weight: 760; }

.cta {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(10, 35, 54, 0.92), rgba(14, 53, 76, 0.76)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=2000&q=86") center/cover;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 72px 0;
}

.cta h2 { color: #ffffff; }
.cta p { max-width: 760px; color: #e2edf3; margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 36px;
  align-items: start;
}

.contact-card { overflow: hidden; }
.contact-card img { width: 100%; height: 260px; object-fit: cover; }
.contact-card div { display: grid; gap: 10px; padding: 26px; }
.contact-card a, .contact-card span { color: #263746; font-weight: 780; overflow-wrap: anywhere; }

.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0; }
.form-grid label { display: grid; gap: 7px; color: #2e3c49; font-size: 0.92rem; font-weight: 850; }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9d7e1;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 168, 0.12); outline: none; }
.form-status { min-height: 24px; color: var(--green); font-weight: 850; }

.footer {
  background: #0c2235;
  color: #d7e5ef;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.95fr 1fr;
  gap: 34px;
  padding: 62px 0 38px;
}

.brand--footer { margin-bottom: 16px; }
.brand--footer strong { color: #ffffff; }
.brand--footer small { color: #aec4d4; }
.footer p { color: #b8cad7; }
.footer a, .footer span { display: block; color: #c7d7e3; margin-bottom: 10px; font-weight: 720; overflow-wrap: anywhere; }
.footer a:hover { color: #ffffff; }
.footer .brand,
.footer .brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer .brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  margin-bottom: 0;
  color: #ffffff;
}

.footer .brand > span:not(.brand__mark) {
  display: block;
  margin-bottom: 0;
}

.footer .brand strong,
.footer .brand small {
  margin-bottom: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #aebfcb;
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .nav__links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav__links.is-open { display: flex; }
  .nav__group { display: grid; }
  .nav__dropdown { position: static; display: grid; min-width: 0; margin: 0 0 6px 14px; padding: 6px; box-shadow: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav > .btn { display: none; }
  .hero__grid, .split, .contact-grid, .footer__grid { grid-template-columns: 1fr; }
  .card-grid--four, .feature-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .service-tile { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1, .page-hero h1 { font-size: 3.8rem; }
  h2 { font-size: 2.35rem; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .topbar__inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .hero { min-height: auto; }
  .hero__grid { padding: 58px 0 38px; }
  .hero h1, .page-hero h1 { font-size: 2.55rem; }
  .hero p, .page-hero p { font-size: 1rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.28rem; }
  .section { padding: 62px 0; }
  .page-hero { padding: 68px 0 78px; }
  .hero__stats, .proof-grid, .card-grid--four, .card-grid--two, .feature-grid, .process-grid, .data-grid, .form-grid { grid-template-columns: 1fr; }
  .image-card { min-height: 260px; }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
