/* -----------------------------
   Base / Reset
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --border: #d8d8d8;

  --primary: #0b55b5;   /* HIC blue */
  --accent: #7aa300;    /* green band */
  --soft: #f4f4f4;      /* light footer bg */
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1100px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(11, 85, 181, 0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

h4 {
  margin: 6px 0;
}

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

/* -----------------------------
   Header
------------------------------ */
.site-header {
  border-bottom: 2px solid #bdbdbd;
  background: #fff;
  box-shadow: 0px 0px 16px #e0e0e0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

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

.brand-mark {
  font-weight: 900;
  letter-spacing: -0.5px;
  font-size: 18px; /* BEN: Changed from 34px */
  line-height: 1;
  color: #1b1b1b;
}

.brand-text {
  display: grid;
  font-weight: 700;
  font-size: 13px;
  color: #1b1b1b;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: #222;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-link:hover {
  background: #f3f6fb;
}

.nav-link.is-active {
  color: var(--primary);
}

/* -----------------------------
   Mobile nav toggle (hamburger -> X)
------------------------------ */
.nav-toggle {
  display: none; /* shown on mobile */
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #e1e1e1;
  background: #fff;
  cursor: pointer;

  /* stack the bars vertically */
  display: none; /* keep hidden until mobile media query */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  transition: background 0.12s ease, border-color 0.12s ease;
}

.nav-toggle:hover {
  background: #f3f6fb;
}

/* The bars */
.nav-toggle-bar {
  display: block;
  width: 24px;        /* longer bars */
  height: 3px;
  background: #222;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 180ms ease, opacity 160ms ease, width 180ms ease;
}

/* Animate to X when expanded */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
  width: 26px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.6);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
  width: 26px;
}

.nav-toggle:hover .nav-toggle-bar {
  width: 26px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar {
    transition: none;
  }
}


/* Mobile nav panel */
.mobile-nav {
  border-top: 2px solid #bdbdbd;
  background: #fff;
}

.mobile-nav-inner {
  padding: 12px 0 16px;
  display: grid;
  gap: 6px;
}

.mobile-link {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  font-weight: 700;
  color: #222;
}

.mobile-link:hover {
  background: #f3f6fb;
}

.mobile-link.is-active {
  color: var(--primary);
}

/* Overlay behind the dropdown (clicking it closes the menu) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 40;
}

/* Ensure header stays above overlay */
.site-header {
  position: relative;
  z-index: 50;
}

/* Mobile nav as a floating dropdown panel */
.mobile-nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 100%;
  background: #fff;
  border-top: 2px solid #bdbdbd;
  box-shadow: var(--shadow);
  z-index: 60;
}

.mobile-nav-inner {
  padding: 12px 0 16px;
  display: grid;
  gap: 6px;
}


/* Prevent background scroll when menu is open (optional) */
/* BEN: Disabling this feature... body.nav-open {
  overflow: hidden;
} */


/* -----------------------------
   Hero
------------------------------ */
.hero {
  padding: 26px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero-logo {
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 10px;
}

.hero-logo-mark {
  font-size: 76px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--primary);
  line-height: 0.95;
}

.hero-logo-text {
  display: grid;
  gap: 4px;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.05;
  color: var(--primary);
}

.hero-title {
  margin: 10px 0 10px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.hero-lead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  transition: transform 0.04s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #094aa0;
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: #f3f6fb;
}

/* Placeholder image blocks */
.img-placeholder {
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.img-placeholder--hero {
  width: 100%;
  height: auto;
  box-shadow: 0px 6px 16px #D3D3D3;
}

.img-placeholder--card {
  width: 100%;
  height: 140px;
  border-radius: 12px 12px 0 0;
}

.responsive-img {
  max-width: 100%;
  height: auto;
}

/* -----------------------------
   Cards
------------------------------ */
.cards {
  padding: 42px 0 0;
  background-image: linear-gradient(0deg, #e0e0e0, #fff);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 2px solid #bdbdbd;
  border-radius: 12px 12px 0px 0px;
  overflow: hidden;
  background: #fff;
  border-bottom-width: 0px;
}

.card-body {
  padding: 14px 14px 16px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.card-text {
  margin: 0;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-btn {
  padding: 8px 14px;
}

/* -----------------------------
   Value band section
------------------------------ */
.value {
  margin: 0;
  border-top: 2px solid #bdbdbd;
  border-bottom: 2px solid #bdbdbd;
}

.value-top-strip {
  padding: 20px;
}

.value-band {
  background: var(--accent);
  padding: 12px 0;
  box-shadow: 0px 6px 16px #D3D3D3;
}

.value-title {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.value-body {
  padding: 28px 0 42px;
}

.value-text {
  margin: 0;
  color: #2a2a2a;
}

/* -----------------------------
   Footer
------------------------------ */
.site-footer {
  background: var(--soft);
  padding: 28px 0 12px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 240px 280px;
  gap: 22px;
  align-items: start;
}

.brand--footer .brand-text {
  font-weight: 700;
}

.brand-mark--muted {
  font-size: 34px;
  color: #3a3a3a;
}

.footer-icons {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.seal {
  width: 56px;
  height: 56px;
  background: #d9d9d9;
  border-radius: 14px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.seal::before,
.seal::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 3px solid #bcbcbc;
}

.footer-links {
  display: grid;
  gap: 4px;
  justify-items: start;
  padding-top: 6px;
}

.footer-links a {
  font-size: 14px;
  color: #222;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  padding-top: 10px;
  display: flex;
  justify-content: flex-end;
  color: #444;
}

/* -----------------------------
   Responsive
------------------------------ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    text-align: center;
  }

  .img-placeholder--hero {
    max-width: 650px;
    height: auto;
  }

  .card {
    border-radius: 12px;
    border-bottom-width: 2px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    padding-bottom: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    gap: 12px;
  }
}


@media (max-width: 564px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .hero-logo-mark {
    font-size: 49px;
  }

  .hero-logo-text {
    font-size: 22px;
  }

  .hero-title {
    font-size: 28px;
  }
}
