:root {
  --h: 100px;
  --c1: #12616E;     /* main brand color */
  --hover: #1889A3;  /* hover tint */
  --text: #0f172a;
  --muted: #6b7280;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  font-family: "Inter", system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

/* Header */
.header {
  height: var(--h);
  width: 100%;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 clamp(12px, 2.6vw, 24px);
}

.row {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 9px;
  background: var(--c1); /* solid brand color */
  display: grid;
  place-items: center;
}

.badge img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}

.name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .2px;
  color: var(--text);
  line-height: 1;
}

.name em {
  color: var(--c1); /* solid brand color */
  font-style: normal;
  font-weight: 800;
}

/* Navigation */
nav {
  grid-column: 2 / span 1;
  justify-self: center;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(16px, 3vw, 36px);
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color .15s ease;
}

/* hover + active */
.nav a:hover { color: var(--c1); }
.nav a.active { color: var(--c1); }

/* CTA Button */
.cta {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c1);
  box-shadow: 0 4px 10px rgba(18, 97, 110, 0.20); /* reduced shadow */
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
  justify-self: end;
  text-decoration: none;
}

.cta:hover {
  transform: translateY(-1px);
  background: var(--hover); /* hover color */
  box-shadow: 0 6px 14px rgba(18, 97, 110, 0.24); /* slightly reduced */
}

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: end;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  margin: 6px auto;
}

/* Mobile Panel */
.panel {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
  background: rgba(15, 23, 42, .45);
}

.panel.open { display: block; }

.sheet {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(84vw, 320px);
  background: #fff;
  padding: 16px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sheet a {
  padding: 12px;
  border-radius: 10px;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  transition: background .12s ease, color .12s ease;
}

.sheet a:hover {
  background: rgba(2, 6, 23, .05);
  color: var(--c1);
}

.sheet a.active { color: var(--c1); }
.sheet .cta { margin-top: 12px; align-self: stretch; }

/* Responsive */
@media (max-width: 1024px) {
  nav { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 720px) {
  .cta.topbar { display: none; }
}
