/* ---------- Filter bar ---------- */
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pf-filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(16, 16, 16, 0.16);
  background: #fff;
  color: #2d3748;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.pf-filter:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.pf-filter.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27, 140, 67, 0.24);
}

/* ---------- Portfolio grid & cards (exact .service-card / .blog-card DNA) ---------- */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .pf-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.pf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #F4F6F5;
  border: 1px solid transparent;
  overflow: hidden;
  transition:
    opacity .8s ease,
    transform .35s cubic-bezier(.22, .61, .36, 1),
    background-color .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.pf-card.is-hidden {
  display: none;
}

/* Top 3px green accent bar on hover (same as .service-card::before) */
.pf-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.pf-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1b2a;
}

.pf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.pf-card__metric {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pf-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 24px;
}

.pf-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #6b7378;
}

.pf-card__cat {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pf-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
  transition: color .3s ease;
}

.pf-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.68;
  color: #4a4a4a;
}

.pf-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.pf-card__tags .tag {
  padding: 6px 12px;
  font-size: 12.5px;
  line-height: 18px;
}

@media (hover: hover) {
  .pf-card:hover {
    transform: translateY(-8px);
    background: #fff;
    border-color: rgba(27, 140, 67, .35);
    box-shadow: 0 18px 40px -16px rgba(27, 140, 67, .35);
  }

  .pf-card:hover::before {
    transform: scaleX(1);
  }

  .pf-card:hover .pf-card__media img {
    transform: scale(1.06);
  }

  .pf-card:hover .pf-card__title {
    color: var(--brand);
  }

  .pf-card:hover .tag {
    border-color: var(--brand);
    color: var(--brand);
    background: transparent;
  }

  .pf-card .tag:hover,
  .pf-card:hover .tag:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
  }
}

@media (hover: none),
(max-width: 767px) {
  .pf-card.is-active {
    background: #fff;
    border-color: rgba(27, 140, 67, .35);
    box-shadow: 0 18px 40px -16px rgba(27, 140, 67, .35);
  }

  .pf-card.is-active::before {
    transform: scaleX(1);
  }

  .pf-card.is-active .pf-card__title {
    color: var(--brand);
  }

  .pf-card.is-active .tag {
    border-color: var(--brand);
    color: var(--brand);
  }
}

/* ---------- Industries band (soft sage #E7EDE9, matching About / Online Ads) ---------- */
.pf-industries {
  width: 100%;
  padding: 64px 20px;
  background: #E7EDE9;
}

@media (min-width: 1280px) {
  .pf-industries {
    padding: 90px 20px;
  }
}

.pf-industries__inner {
  width: 1272px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .pf-industries__inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }
}

.pf-industries__title {
  margin: 20px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

.pf-industries__lead {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: #4a4a4a;
}

.pf-industries__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 540px) {
  .pf-industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pf-industry-chip {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: #0a1220;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), border-color .35s ease, box-shadow .35s ease, color .3s ease;
}

.pf-industry-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 140, 67, 0.35);
  box-shadow: 0 14px 30px -12px rgba(27, 140, 67, 0.28);
  color: var(--brand);
}