/* ==========================================================
   Monkman Global — Benefits page
   (loaded after style.css)
   ========================================================== */

/* ---------- Hero ---------- */
.bn-hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(240, 120, 74, 0.10), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
}
.bn-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 48px;
}
.bn-hero__title {
  font-size: clamp(38px, 5vw, 62px); /* same as home page h1 */
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.bn-hero__title .accent { display: block; }
.bn-hero .hero__text { font-size: 16px; }
.bn-hero .hero__actions { margin: 30px 0 34px; }

.bn-hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 20px; }
.bn-hero__facts li { display: flex; align-items: center; gap: 10px; }
.bn-hero__facts svg { width: 24px; height: 24px; color: var(--navy); }
.bn-hero__facts span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.bn-hero__facts strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy-dark); }

.bn-hero__visual { position: relative; container-type: inline-size; }
.bn-hero__visual img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
}
.chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1cqw;
  width: 17cqw;
  padding: 2cqw 1cqw;
  font-size: 1.9cqw;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: var(--navy-dark);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2.4cqw;
  box-shadow: 0 1.5cqw 4cqw rgba(15, 58, 74, 0.14);
  animation: chip-float 6s ease-in-out infinite;
}
.chip svg { width: 6cqw; height: 6cqw; color: var(--navy); stroke-width: 1.5; }
.chip--1 { left: 2%;  top: 12%; }
.chip--2 { left: 42%; top: 0;   animation-delay: -1s; }
.chip--3 { right: 2%; top: 10%; animation-delay: -2s; }
.chip--4 { right: 0;  top: 44%; animation-delay: -3s; }
.chip--5 { left: 0;   top: 52%; animation-delay: -4s; }
.chip--6 { left: 40%; bottom: 0; animation-delay: -5s; }
.chip--7 { right: 4%; bottom: 6%; animation-delay: -2.5s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }

/* ---------- Industries ---------- */
.bn-industries { background: var(--bg-warm); padding-top: 72px; }
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry { padding: 0 0 18px; overflow: hidden; display: flex; flex-direction: column; }
.industry__img {
  display: block;
  width: 100%;
  aspect-ratio: 640 / 495;
  object-fit: cover;
  object-position: center; /* image includes its own white frame and icon badge */
  margin-bottom: 6px;
}
.industry h3 { font-size: 15px; padding: 0 16px; margin-bottom: 6px; }
.industry p { font-size: 12.5px; color: var(--muted); padding: 0 16px; margin-bottom: 14px; flex: 1; }
.industry .circle-link { margin-left: 16px; }

/* ---------- Extension of team ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mini { padding: 22px 18px; }
.mini svg { width: 28px; height: 28px; margin-bottom: 14px; }
.mini h3 { font-size: 14px; margin-bottom: 6px; }
.mini p { font-size: 12.5px; color: var(--muted); }

/* ---------- Approach ---------- */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  margin: 40px 0;
  background: var(--bg-warm);
}
.approach__visual { position: relative; min-height: 440px; height: 100%; }
.approach__visual img { position: absolute; inset: 0; width: 72%; height: 100%; object-fit: cover; object-position: 30% center; }
.approach__card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 330px;
  padding: 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 58, 74, 0.12);
}
.approach__card h3 { font-size: 17px; margin-bottom: 16px; }
.approach__content { padding: 48px 32px 48px 0; max-width: 560px; }
.approach__content .muted { margin-bottom: 26px; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 28px; font-size: 14px; color: var(--muted); }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8622c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tick-list--sm { gap: 8px; }
.tick-list--sm li { font-size: 13px; padding-left: 24px; }
.tick-list--sm li::before { width: 14px; height: 14px; }

/* ---------- Capability ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cap { padding: 24px 20px; }
.cap svg { width: 30px; height: 30px; margin-bottom: 16px; }
.cap h3 { font-size: 15px; margin-bottom: 8px; }
.cap p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- Cost advantage + rate chart ---------- */
.cost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  margin-top: 72px;
}
.cost__btn { margin-top: 26px; }

.rate-chart { margin: 0; padding: 26px 28px 22px; }
.rate-chart__title { font-size: 13px; font-weight: 600; color: var(--navy-dark); margin-bottom: 18px; }
.rate-chart__rows { display: grid; gap: 4px; }
.rate-row,
.rate-chart__axis {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 14px;
}
.rate-row { padding: 8px 0; border-radius: 6px; cursor: default; }
.rate-row.is-hover { background: #faf5f2; }
.rate-row__label { font-size: 13px; color: var(--text); }
.rate-row__value { font-size: 13px; font-weight: 600; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.rate-row__track {
  position: relative;
  height: 16px;
  /* recessive gridlines at each $40 tick */
  background: linear-gradient(90deg, #ece6e1 1px, transparent 1px) 0 0 / 25% 100% repeat-x;
  border-right: 1px solid #ece6e1;
}
.rate-row__bar {
  position: absolute;
  top: 1px;
  bottom: 1px;
  border-radius: 4px;
  background: #6f8a99;
}
.rate-row--focus .rate-row__bar { background: var(--orange); }
.rate-row--focus .rate-row__label,
.rate-row--focus .rate-row__value { font-weight: 700; color: var(--navy-dark); }

.rate-chart__axis { margin-top: 6px; }
.rate-chart__ticks { position: relative; height: 16px; }
.rate-chart__ticks i {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 11px;
  color: #8a949b;
  font-variant-numeric: tabular-nums;
}
.rate-chart__note { font-size: 11.5px; color: var(--muted); margin-top: 14px; }

.rate-tip {
  position: fixed;
  z-index: 100;
  padding: 7px 11px;
  font-size: 12.5px;
  color: #fff;
  background: var(--navy-dark);
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 58, 74, 0.2);
}

/* ---------- Engagement models ---------- */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 12px; }
.model { padding: 24px 22px; display: flex; flex-direction: column; }
.model__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.model__head svg { width: 30px; height: 30px; }
.model__head h3 { font-size: 15.5px; }
.model .tick-list { flex: 1; }
.model__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
}

/* ---------- Process ---------- */
.bn-process { padding-bottom: 80px; }
.process {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed #f2c2ab;
}
.process li { position: relative; text-align: center; }
.process__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #f2b397;
  color: var(--orange);
  box-shadow: 0 0 0 6px var(--bg);
}
.process__icon svg { width: 24px; height: 24px; }
.process strong { display: block; font-size: 15px; color: var(--navy-dark); margin-bottom: 4px; }
.process li > span:last-child { font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.bn-cta {
  padding: 72px 0;
  color: #d8e3e8;
  /* globe photo on the right; the left fade keeps the heading readable */
  background:
    linear-gradient(90deg, rgba(10, 37, 48, 0.85) 0%, rgba(10, 37, 48, 0.35) 45%, rgba(10, 37, 48, 0) 70%),
    url("../images/cta-globe.webp") right center / cover no-repeat,
    #0c3242;
}
.bn-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.bn-cta .eyebrow { color: var(--orange-soft); }
.bn-cta__title { font-size: clamp(26px, 2.8vw, 36px); color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
.bn-cta__action p { font-size: 13px; margin-top: 14px; color: #c9d6dc; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.bn-cta__list {
  list-style: none;
  margin: 0;
  padding: 18px 24px;
  display: grid;
  gap: 10px;
  background: rgba(10, 37, 48, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}
.bn-cta__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #fff; }
.bn-cta__list svg { width: 18px; height: 18px; color: #ffb897; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .industry-grid, .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .bn-cta__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bn-cta__list { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
}

@media (max-width: 960px) {
  .bn-hero__inner, .cost { grid-template-columns: minmax(0, 1fr); }
  .bn-hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }

  .approach { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .approach__visual { min-height: 0; height: auto; }
  .approach__visual img { position: static; width: 100%; height: 360px; }
  .approach__card { position: relative; top: auto; right: auto; transform: none; width: auto; max-width: none; margin: -60px 24px 0; }
  .approach__content { padding: 40px 24px 48px; max-width: none; }

  .bn-cta__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 600px) {
  .industry-grid, .mini-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cap-grid, .model-grid { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .bn-hero .hero__actions { flex-direction: column; }
  .bn-hero .hero__actions .btn { width: 100%; }
  .bn-hero__facts { flex-direction: column; gap: 16px; }
  .approach__card { margin: -50px 16px 0; }
  .approach__content { padding: 36px 16px 44px; }

  .rate-chart { padding: 20px 16px; }
  .rate-row, .rate-chart__axis { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  .rate-row__value { grid-column: 2; text-align: left; font-size: 12px; }
  .rate-chart__axis > span:last-child { display: none; }
  .rate-row__label { grid-row: span 2; font-size: 12px; }

  .bn-cta__list { grid-template-columns: repeat(2, auto); }
}
