/* Projects page — mockup structure, HAWL brand colors */

.prj-body {
  margin: 0;
  background: #f4f7fb;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #0d2748;
}

/* Hero */
.prj-hero {
  position: relative;
  min-height: 420px;
  color: #fff;
  overflow: hidden;
}
.prj-hero-bg {
  position: absolute;
  inset: 0;
  background: #061528 center right / cover no-repeat;
}
.prj-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 14, 28, 0.94) 0%,
    rgba(5, 14, 28, 0.78) 38%,
    rgba(5, 14, 28, 0.35) 68%,
    rgba(5, 14, 28, 0.45) 100%
  );
}
.prj-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(200px, 0.65fr);
  gap: 32px;
  align-items: center;
}
.prj-hero-copy { max-width: 560px; }
.prj-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #9fd0ff;
}
.prj-kicker::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #0177A9;
}
.prj-hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.prj-hero h1 em {
  font-style: normal;
  color: #2eb5ef;
}
.prj-hero .lead {
  margin: 0 0 22px;
  color: #d5e0ec;
  font-size: 15px;
  line-height: 1.55;
  max-width: 480px;
}
.prj-feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.prj-feats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.prj-feats svg {
  width: 22px;
  height: 22px;
  color: #2eb5ef;
}
.prj-feats strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.prj-feats span {
  display: block;
  font-size: 11px;
  color: #a9bcd0;
  line-height: 1.3;
}
.prj-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-self: end;
  text-align: left;
  min-width: 180px;
}
.prj-stat {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 12px;
  align-items: start;
}
.prj-stat::before {
  content: "";
  width: 4px;
  height: 100%;
  min-height: 48px;
  border-radius: 4px;
  background: #0177A9;
}
.prj-stat .num {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: #2eb5ef;
  line-height: 1.05;
}
.prj-stat .lbl {
  display: block;
  font-size: 13px;
  color: #d5e0ec;
  margin-top: 4px;
}
.prj-caption {
  position: absolute;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 18px;
  z-index: 2;
  font-size: 12px;
  color: #c9d7e8;
  font-weight: 500;
}

/* Main */
.prj-main {
  width: min(1160px, calc(100% - 40px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  padding-bottom: 36px;
}

/* Filters */
.prj-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 0 10px 28px rgba(16, 40, 72, 0.08);
  border: 1px solid #e8eef5;
}
.prj-filters .chip {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 650;
  font-size: 13px;
  color: #4a6078;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.prj-filters .chip svg {
  width: 14px;
  height: 14px;
}
.prj-filters .chip.active {
  background: #0d2748;
  color: #fff;
}
.prj-filters .chip:disabled,
.prj-filters .chip[aria-disabled="true"] {
  opacity: 0.42;
  color: #8a9bb0;
  cursor: not-allowed;
  pointer-events: none;
}
.prj-sort {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5a6f86;
  font-size: 12.5px;
  font-weight: 600;
  padding-right: 4px;
}
.prj-sort select {
  border: 1px solid #d7e2ee;
  background: #f7fafc;
  border-radius: 8px;
  font-weight: 700;
  color: #31465f;
  font-size: 13px;
  font-family: inherit;
  padding: 7px 10px;
}

/* Grid */
.prj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.prj-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 40, 72, 0.06);
  border: 1px solid #e8eef5;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.prj-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(16, 40, 72, 0.1);
}
.prj-card .media {
  position: relative;
  height: 168px;
  background: #eef3f8;
  overflow: hidden;
}
.prj-card .media.is-photo {
  background: #0b1c34;
}
.prj-card .media.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.prj-card .media.is-logo {
  display: grid;
  place-items: center;
  padding: 14px 16px;
  background: #fff;
}
.prj-card .media.is-logo img {
  width: auto;
  max-width: 92%;
  max-height: 140px;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.prj-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(1, 119, 169, 0.92);
  color: #fff;
}
.prj-badge.university { background: #0177A9; }
.prj-badge.government { background: #0d2748; }
.prj-badge.healthcare { background: #0b6e4f; }
.prj-badge.banking { background: #3b4f7a; }
.prj-badge.hospitality { background: #6a5a3a; }
.prj-badge.enterprise { background: #355c7d; }
.prj-card .pad {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.prj-card h3 {
  margin: 0;
  font-size: 17px;
  color: #0a1f3d;
  letter-spacing: -0.2px;
}
.prj-card .svc {
  margin: 0;
  color: #667a91;
  font-size: 13px;
}
.prj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: #6a7f96;
  font-size: 12px;
}
.prj-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.prj-meta svg {
  width: 13px;
  height: 13px;
  color: #0177A9;
}
.prj-card .more {
  margin-top: auto;
  padding-top: 14px;
  color: #0177A9;
  font-weight: 700;
  font-size: 13px;
  text-align: right;
}

/* CTA */
.prj-cta {
  background: #07111f;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}
.prj-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(1, 119, 169, 0.35), transparent 55%),
    url("../img/city-skyline.png") center/cover;
  opacity: 0.35;
}
.prj-cta-inner {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.prj-cta .msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
  min-width: 240px;
}
.prj-cta .msg svg {
  width: 28px;
  height: 28px;
  color: #2eb5ef;
  min-width: 28px;
  margin-top: 2px;
}
.prj-cta h2 {
  margin: 0 0 4px;
  font-size: 22px;
}
.prj-cta .msg p {
  margin: 0;
  color: #b8c8da;
  font-size: 13px;
}
.prj-cta .btn-blue {
  background: #0177A9;
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.prj-cta .btn-blue:hover { filter: brightness(1.06); }
.prj-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-left: auto;
}
.prj-trust > div {
  font-size: 12px;
  color: #b8c8da;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 150px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.prj-trust > div:first-child {
  border-left: 0;
  padding-left: 0;
}
.prj-trust b {
  color: #fff;
  display: block;
  font-size: 12.5px;
}
.prj-trust span { display: block; }
.prj-trust svg {
  width: 20px;
  height: 20px;
  color: #2eb5ef;
  min-width: 20px;
}

.hidden { display: none !important; }

@media (max-width: 1100px) {
  .prj-feats { grid-template-columns: 1fr 1fr; }
  .prj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .prj-hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
  .prj-stats {
    justify-self: start;
    flex-direction: row;
    gap: 28px;
  }
  .prj-stat { grid-template-columns: 4px auto; }
}
@media (max-width: 700px) {
  .prj-grid { grid-template-columns: 1fr; }
  .prj-feats { grid-template-columns: 1fr 1fr; }
  .prj-filters { border-radius: 16px; }
  .prj-sort { margin-left: 0; width: 100%; justify-content: space-between; }
  .prj-trust > div { border-left: 0; padding-left: 0; max-width: none; }
  .prj-cta-inner { align-items: flex-start; }
}
