/* ==========================================================================
   page-banner.css — shared compact banner for inner pages (About, Products,
   Certifications & Clients, Gallery, Contact). The homepage uses hero.css
   instead; this is the shorter "interior page" version with a breadcrumb.
   ========================================================================== */

.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--indigo-950);
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-8);
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.page-banner__scrim {
  position: absolute;
  inset: 0;
  /* background: rgb(0 0 0 / 20%); */
  background: linear-gradient(100deg, rgb(10 18 22 / 75%) 25%, rgb(16 28 34 / 30%) 60%, rgb(18 128 74 / 0%) 100%);
}

.page-banner__inner {
  position: relative;
  z-index: 1;
}

.page-banner__crumbs {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: var(--sp-5);
}

.page-banner__crumbs a {
  color: #ffffff;
  transition: color 0.2s var(--ease);
}

.page-banner__crumbs a:hover {
  color: var(--ember-400);
}

.page-banner__crumbs span[aria-current] {
  color: var(--ember-400);
}

.page-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.page-banner__sub {
  font-size: 1.05rem;
  color: #fff;
  max-width: 62ch;
  line-height: 1.6;
}

/* ---- Category theming (individual product pages) -----------------------
   One accent per category so the banner visibly "belongs" to Agriculture /
   General Engineering / Infrastructure — the badge colour and scrim tint
   change, the layout doesn't. */
.page-banner__category {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 1em;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.page-banner__category svg {
  width: 14px;
  height: 14px;
}

.page-banner--agriculture .page-banner__scrim {
  background: linear-gradient(100deg, rgb(10 18 22 / 75%) 25%, rgb(16 28 34 / 30%) 60%, rgb(18 128 74 / 0%) 100%);
  /* background: rgb(0 0 0 / 15%); */
}

.page-banner--agriculture .page-banner__category {
  background: rgba(18, 128, 74, 0.16);
  color: #4ade91;
  border: 1px solid rgba(74, 222, 145, 0.35);
}

.page-banner--engineering .page-banner__scrim {
  background: linear-gradient(100deg, rgb(10 18 22 / 75%) 25%, rgb(16 28 34 / 30%) 60%, rgb(18 128 74 / 0%) 100%);
  /* background: rgb(0 0 0 / 15%); */
}

.page-banner--engineering .page-banner__category {
  background: rgba(65, 100, 120, 0.22);
  color: #9fc2d4;
  border: 1px solid rgba(159, 194, 212, 0.35);
}

.page-banner--infrastructure .page-banner__scrim {
  background: linear-gradient(100deg, rgb(10 18 22 / 75%) 25%, rgb(16 28 34 / 30%) 60%, rgb(18 128 74 / 0%) 100%);
  /* background: rgb(0 0 0 / 15%); */
}

.page-banner--infrastructure .page-banner__category {
  background: rgba(242, 101, 34, 0.16);
  color: var(--ember-400);
  border: 1px solid rgba(242, 101, 34, 0.35);
}

.page-banner__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.page-banner__pills a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ece7f5;
  padding: 0.55em 1.1em;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-banner__pills a:hover {
  border-color: var(--ember-500);
  background: rgba(245, 166, 35, 0.12);
}

@media (max-width: 640px) {
  .page-banner {
    padding-top: var(--sp-8);
    padding-bottom: var(--sp-6);
  }
}