:root {
  --navy: #0c2340;
  --emerald: #2e6f4e;
  --verdant: #3e8f65;
  --lime: #8db546;
  --ink: #000;
  --slate: #56636c;
  --mist: #f4f7f5;
  --white: #fff;
  --error: #b3261e;
  --gradient: linear-gradient(135deg, #0c2340 0%, #2e6f4e 45%, #8db546 100%);
  --display: "Space Grotesk", sans-serif;
  --body: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shadow: 0 18px 50px rgba(12, 35, 64, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  zoom: .92;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 12px clamp(20px, 5vw, 80px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12,35,64,.08);
  transition: min-height .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { min-height: 68px; box-shadow: 0 10px 28px rgba(12,35,64,.1); }
.brand img { width: 72px; height: auto; }
.site-nav { display: flex; justify-content: center; gap: 10px; align-items: center; }
.nav-link, .drop-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 600 15px/1 var(--body);
  cursor: pointer;
}
.nav-link.active { color: var(--emerald); box-shadow: inset 0 -2px 0 var(--emerald); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 46px;
  left: 0;
  min-width: 270px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(12,35,64,.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .18s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; pointer-events: auto; transform: none; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--navy); }
.dropdown-menu a:hover { background: var(--mist); color: var(--emerald); }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--navy);
  font: 600 15px/1 var(--display);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #ffffff; }
.btn-primary:hover { background: var(--emerald); border-color: var(--emerald); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--mist); }

main { padding-top: 84px; }
.section { padding: clamp(54px, 7.5vw, 108px) clamp(20px, 5vw, 80px); }
.wrap { max-width: 1280px; margin: 0 auto; }
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 84px);
  display: grid;
  align-items: center;
  padding-top: clamp(24px, 3vw, 40px);
  background: var(--mist);
}
.hero:before {
  content: "";
  position: absolute;
  width: min(54vw, 640px);
  aspect-ratio: 1;
  right: -8vw;
  top: 10vh;
  background: var(--gradient);
  opacity: .18;
  filter: blur(28px);
  clip-path: polygon(20% 0, 100% 22%, 76% 100%, 0 74%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 7vw, 88px); align-items: center; }
.eyebrow { color: var(--emerald); font: 700 13px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0 0 18px; letter-spacing: 0; }
h1 { font-size: clamp(40px, 5.8vw, 64px); max-width: 920px; }
h2 { font-size: clamp(28px, 3.6vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
.lead { font-size: clamp(18px, 1.9vw, 20px); color: #26343f; max-width: 820px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.logo-panel {
  background: var(--white);
  border: 1px solid rgba(12,35,64,.08);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.logo-panel img { width: min(420px, 100%); margin: auto; }
.mist { background: var(--mist); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}
.grid { display: grid; gap: 22px; }
.grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-showcase {
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.08fr) minmax(220px, 1fr);
  grid-template-areas:
    "valuation consulting management"
    "advisory consulting outsourcing";
  align-items: stretch;
  gap: 20px;
}
.services-showcase .card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 20px;
}
.services-showcase .card.featured {
  grid-area: consulting;
  min-height: 100%;
  border-color: rgba(46,111,78,.35);
  box-shadow: 0 18px 52px rgba(46,111,78,.14);
}
.services-showcase .card[data-service="valuation-feasibility"] { grid-area: valuation; }
.services-showcase .card[data-service="financial-management"] { grid-area: management; }
.services-showcase .card[data-service="advisory"] { grid-area: advisory; }
.services-showcase .card[data-service="financial-outsourcing"] { grid-area: outsourcing; }
.services-showcase h3 {
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(22px, 2vw, 30px);
}
.services-showcase p {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  line-height: 1.6;
}
.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--emerald);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card {
  position: relative;
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(12,35,64,.1);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(12,35,64,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(46,111,78,.38); }
.badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--white);
  background: var(--gradient);
  font: 700 18px/1 var(--mono);
}
.muted { color: var(--slate); }
.link { color: var(--emerald); font-weight: 700; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat strong { display: block; color: var(--navy); font: 500 38px/1 var(--mono); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(12,35,64,.12);
}
.service-row:last-child { border-bottom: 1px solid rgba(12,35,64,.12); }
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: clamp(32px, 6vw, 64px);
}
.cta:after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 420px;
  aspect-ratio: 1;
  background: var(--gradient);
  opacity: .28;
  filter: blur(20px);
  clip-path: polygon(20% 0, 100% 25%, 72% 100%, 0 70%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2, .cta p { color: var(--white); }
.cta .btn-primary { background: var(--emerald); border-color: var(--emerald); color: #ffffff; }
.cta .btn-primary:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.page-hero { background: var(--mist); padding-top: clamp(56px, 8vw, 96px); }
.breadcrumbs { margin-bottom: 22px; color: var(--slate); font-size: 14px; }
.list { padding-left: 20px; }
.list li { margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field.full { grid-column: 1 / -1; }
.honeypot { display: none; }
label { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 600; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(12,35,64,.18);
  border-radius: 6px;
  background: var(--mist);
  padding: 12px 14px;
  font: 16px/1.4 var(--body);
}
textarea { min-height: 150px; resize: vertical; }
.error { color: var(--error); font-size: 14px; margin-top: 5px; min-height: 20px; }
.success { padding: 18px; border-radius: 8px; background: #edf7f1; color: var(--emerald); font-weight: 700; }
.map { min-height: 260px; display: grid; place-items: center; background: var(--mist); border-radius: 8px; color: var(--slate); border: 1px solid rgba(12,35,64,.1); }
.legal-body { max-width: 820px; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 64px clamp(20px, 5vw, 80px) 28px;
}
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; gap: 32px; }
.footer-logo { width: 160px; background: var(--white); border-radius: 8px; padding: 8px; margin-bottom: 14px; }
.site-footer h3 { color: var(--white); font-size: 18px; }
.site-footer a { display: block; margin: 7px 0; color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--white); }
.footer-bottom { max-width: 1280px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom div { display: flex; gap: 18px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }
  .brand img { width: 64px; }
  .header-cta { display: none; }
  .menu-toggle {
    width: 48px;
    height: 48px;
    display: grid;
    gap: 5px;
    place-content: center;
    border: 1px solid rgba(12,35,64,.12);
    border-radius: 8px;
    background: var(--white);
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    align-content: center;
    justify-items: start;
    padding: 96px 28px;
    background: var(--navy);
  }
  .site-nav.open { display: grid; }
  .nav-link, .drop-trigger { color: var(--white); font-size: 24px; min-height: 54px; padding-left: 0; }
  .dropdown-menu { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 14px; }
  .dropdown-menu a { color: rgba(255,255,255,.8); }
  .hero-grid, .split, .grid.cards, .grid.two, .stats, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .services-showcase {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .services-showcase .card,
  .services-showcase .card.featured,
  .services-showcase .card[data-service] {
    grid-area: auto;
    min-height: 230px;
  }
  .hero { min-height: auto; }
  .service-row { grid-template-columns: 1fr; }
}

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