:root {
  --ink: #14213d;
  --muted: #4a5568;
  --brand: #0b5394;
  --brand-dark: #073763;
  --accent: #6aa84f;
  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #dde3ec;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { inset-inline-start: 10px; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: auto; height: 70px; object-fit: contain; }
.brand strong { display: block; font-size: 1.15rem; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: .85rem; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
nav a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
nav a:hover { background: var(--bg); }
nav a[aria-current="page"] { color: var(--brand); background: #eaf2fb; }
.menu-btn { display: none; background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font: inherit; cursor: pointer; }

/* hero */
.hero { background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, #3d85c6); color: #fff; padding: 72px 0 64px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.25; font-weight: 800; }
.hero .eyebrow { margin: 0 0 10px; color: #cfe2f3; font-weight: 500; }
.hero .tagline { margin: 0 0 12px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #d9ead3; font-weight: 700; }
.hero .lead { margin: 0 0 24px; font-size: 1.1rem; max-width: 640px; }
.hero-small { padding: 44px 0 36px; }
.hero-small p { margin: 0; color: #d6e6f5; font-size: 1.1rem; }

/* blocks */
.block { padding: 48px 20px; }
.block h2 { font-size: 1.6rem; margin: 0 0 20px; }
.prose { max-width: 820px; }
.prose p { margin: 0 0 16px; }
.prose h2 { margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.checks li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; padding-inline-start: 44px; position: relative; }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 16px; top: 13px; color: var(--accent); font-weight: 800; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card h2 { font-size: 1.2rem; margin: 0 0 10px; color: var(--brand-dark); }
.card ul { margin: 0; padding-inline-start: 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px; font-weight: 500; }
.more { font-weight: 700; }

/* client logos */
.sub { color: var(--muted); max-width: 820px; margin: -8px 0 24px; font-size: 1.05rem; }
.logos { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 110px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.logos img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; }
@media (hover: hover) {
  .logos img { filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
  .logos li:hover img { filter: none; opacity: 1; }
}
.client-group { margin-bottom: 28px; }
.client-group h2 { font-size: 1.25rem; color: var(--brand-dark); margin: 0 0 14px; }

/* buttons + CTA */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 10px; font-weight: 700; }
.btn:hover { background: #4f8a36; color: #fff; }
.btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta { background: var(--ink); color: #fff; padding: 40px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 4px; }
.cta p { margin: 0; color: #c9d3e3; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.contact dl { margin: 0; }
.contact dt { font-weight: 700; margin-top: 12px; }
.contact dd { margin: 0; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }

/* footer */
.foot { background: #0d1729; color: #c9d3e3; padding: 32px 0; font-size: .95rem; }
.foot a { color: #fff; }
.foot-legal { font-size: .8rem; color: #8e9bb3; margin-bottom: 0; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .top-in { min-height: 72px; }
  .brand img { height: 48px; }
  .brand small { display: none; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .brand img { height: 52px; }
  nav { display: none; position: absolute; top: 72px; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-open nav { display: block; }
  nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .contact { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
}
