/* Home page — matches HAWL homepage design */

.home-body {
  margin: 0;
  background: #fff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #0d2748;
}
.hm-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: #fff;
  text-decoration: none;
}
.hm-brand strong {
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.3px;
}
.hm-brand span {
  font-size: 10.5px;
  font-weight: 500;
  color: #9ecbff;
  margin-top: 1px;
}

/* Hero — full-bleed mockup plane */
.hm-hero {
  position: relative;
  overflow: hidden;
  background: #eef5fb;
  min-height: 420px;
}
.hm-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(247, 251, 255, 0.97) 0%,
    rgba(247, 251, 255, 0.9) 30%,
    rgba(247, 251, 255, 0.45) 48%,
    rgba(247, 251, 255, 0.08) 64%,
    transparent 76%
  );
}
.hm-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 72px;
  display: grid;
  grid-template-columns: minmax(280px, 540px) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 420px;
}
.hm-copy {
  max-width: 520px;
}
.hm-kicker {
  color: #0177A9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.hm-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: #0a1f3d;
}
.hm-hero h1 em {
  font-style: normal;
  color: #0177A9;
}
.hm-hero .lead {
  margin: 0 0 22px;
  color: #5a6f86;
  font-size: 15px;
  line-height: 1.55;
  max-width: 460px;
}
.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.hm-btn-blue {
  background: #0177A9;
  color: #fff;
}
.hm-btn-outline {
  background: #fff;
  color: #0177A9;
  border: 1.5px solid #0177A9;
}
.hm-btn:hover { filter: brightness(1.05); }

/* Stats */
.hm-stats {
  background: #07182e;
  color: #fff;
}
.hm-stats-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hm-stat {
  padding: 22px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.hm-stat:last-child { border-right: 0; }
.hm-stat svg {
  width: 28px;
  height: 28px;
  color: #0177A9;
  flex-shrink: 0;
}
.hm-stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}
.hm-stat span {
  display: block;
  font-size: 12.5px;
  color: #b7c6da;
  margin-top: 2px;
}

.hm-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.hm-sec {
  padding: 56px 0;
}
.hm-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.hm-eyebrow {
  color: #0177A9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.hm-sec-head h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #0a1f3d;
  max-width: 520px;
}
.hm-more {
  color: #0177A9;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* Solutions cards */
.hm-sol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hm-scard {
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(16, 40, 72, 0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.hm-scard:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 40, 72, 0.1);
}
.hm-scard .media {
  height: 120px;
  position: relative;
  background: #dbe7f5 center/cover no-repeat;
}
.hm-scard .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hm-scard .badge {
  position: absolute;
  left: 12px;
  bottom: -16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: #0177A9;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(16, 40, 72, 0.12);
}
.hm-scard .badge svg { width: 16px; height: 16px; }
.hm-scard .body {
  padding: 24px 14px 10px;
  flex: 1;
}
.hm-scard h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #0177A9;
}
.hm-scard ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #667a91;
  font-size: 12.5px;
  line-height: 1.55;
}
.hm-scard ul li::before {
  content: "• ";
  color: #9ab0c6;
}
.hm-scard .foot {
  padding: 8px 14px 14px;
  display: flex;
  justify-content: flex-end;
}
.hm-scard .go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d7e4f2;
  color: #0177A9;
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* Projects */
.hm-proj {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hm-pcard {
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(16, 40, 72, 0.05);
}
.hm-pcard-media {
  height: 168px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  border-bottom: 1px solid #e6eef6;
  padding: 18px;
}
.hm-pcard-media img,
.hm-pcard-logo img {
  width: auto;
  max-width: 100%;
  height: 132px;
  object-fit: contain;
  display: block;
}
.hm-pcard .pad { padding: 14px; }
.hm-pcard h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #0177A9;
}
.hm-pcard .svc {
  margin: 0;
  color: #667a91;
  font-size: 13px;
}

/* Why HAWL */
.hm-why {
  background: #f7fafc;
}
.hm-sec-projects h2,
.hm-why > .hm-wrap > h2 {
  white-space: pre-line;
}
.hm-why > .hm-wrap > h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #0a1f3d;
  max-width: 520px;
}
.hm-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.hm-why-item {
  background: #fff;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  padding: 20px 18px;
}
.hm-why-item .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eaf3ff;
  color: #0177A9;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.hm-why-item .ico svg { width: 18px; height: 18px; }
.hm-why-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.hm-why-item p {
  margin: 0;
  color: #667a91;
  font-size: 13px;
  line-height: 1.45;
}

/* Industries */
.hm-ind {
  position: relative;
  color: #fff;
  padding: 64px 0;
  background: #0b1c34 center/cover no-repeat;
}
.hm-ind::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 36, 0.82), rgba(6, 18, 36, 0.55));
}
.hm-ind .hm-wrap { position: relative; z-index: 1; }
.hm-ind .hm-eyebrow { color: #9fd0ff; }
.hm-ind h2 {
  margin: 6px 0 0;
  font-size: 32px;
  color: #fff;
}
.hm-ind-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 8px;
}
.hm-ind-icons {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hm-ind-icons div {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  width: 110px;
}
.hm-ind-icons .bubble {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  background: rgba(8, 20, 40, 0.35);
  color: #fff;
}
.hm-ind-icons .bubble svg { width: 24px; height: 24px; }
.hm-ind-tag {
  max-width: 260px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}

/* Partners — infinite logo slide when many brands */
.hm-partners {
  text-align: center;
  padding: 48px 0 36px;
  overflow: hidden;
}
.hm-partners h2 {
  margin: 6px 0 0;
  font-size: 28px;
}
.hm-logos-slide {
  margin-top: 28px;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hm-logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: hm-logo-scroll 32s linear infinite;
}
.hm-logos-slide:hover .hm-logos-track {
  animation-play-state: paused;
}
@keyframes hm-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hm-logos-track .hm-logo-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 48px;
  flex: 0 0 auto;
}
.hm-logos-track .hm-logo-img img {
  max-height: 42px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .hm-logos-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; max-width: 1160px; margin: 0 auto; }
  .hm-logos-slide { mask-image: none; -webkit-mask-image: none; }
}

/* Certs */
.hm-certs {
  padding: 10px 0 48px;
}
.hm-certs h2 {
  margin: 6px 0 0;
  font-size: clamp(22px, 2.6vw, 26px);
  letter-spacing: -0.4px;
  color: #0a1f3d;
}
.hm-certs-bar {
  background: #f0f4f8;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.hm-cert {
  background: #fff;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.hm-cert-logo {
  height: 28px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  margin-bottom: 4px;
}
.hm-cert b { font-size: 13px; }
.hm-cert span { font-size: 11px; color: #667a91; }
.hm-logo-text {
  display: none;
}

/* CTA */
.hm-cta {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 40px;
  border-radius: 16px;
  padding: 24px 26px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background:
    linear-gradient(90deg, rgba(13, 78, 168, 0.92), rgba(26, 111, 224, 0.85)),
    url("../img/city-skyline.png") center/cover;
}
.hm-cta .left {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hm-cta .left svg {
  width: 28px;
  height: 28px;
  min-width: 28px;
  margin-top: 2px;
}
.hm-cta h3 {
  margin: 0 0 4px;
  font-size: 22px;
}
.hm-cta p {
  margin: 0;
  color: #d6e6ff;
  font-size: 14px;
}
.hm-cta .hm-btn {
  background: #fff;
  color: #0d4ea8;
}

/* Footer */
.hm-foot {
  background: #07111f;
  color: #c9d5e4;
  font-size: 13px;
}
.hm-foot-top {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.hm-foot-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 640px;
}
.hm-foot-contact span {
  display: inline-flex;
  gap: 6px;
  align-items: flex-start;
}
.hm-foot-contact svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 2px;
  opacity: 0.85;
}
.hm-social {
  display: flex;
  gap: 8px;
}
.hm-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #d5e2f2;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.hm-fine {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #8fa3b8;
  font-size: 12px;
}
.hm-fine a { color: #b7c6da; text-decoration: none; }

@media (max-width: 1100px) {
  .hm-hero { min-height: 340px; }
  .hm-hero-inner {
    grid-template-columns: minmax(260px, 420px) 1fr;
    min-height: 340px;
    padding: 48px 0 56px;
  }
  .hm-sol,
  .hm-why-grid,
  .hm-certs-bar { grid-template-columns: 1fr 1fr; }
  .hm-proj { grid-template-columns: 1fr; }
  .hm-stats-inner { grid-template-columns: 1fr 1fr; }
  .hm-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 700px) {
  .hm-hero { min-height: 0; }
  .hm-hero-bg {
    position: relative;
    height: 220px;
    object-position: center right;
  }
  .hm-hero::after {
    background: linear-gradient(
      180deg,
      rgba(247, 251, 255, 0.2) 0%,
      rgba(247, 251, 255, 0.85) 55%,
      #f7fbff 100%
    );
  }
  .hm-hero-inner {
    display: block;
    min-height: 0;
    margin-top: -28px;
    padding: 0 0 28px;
  }
  .hm-copy { max-width: none; }
  .hm-sol,
  .hm-why-grid,
  .hm-certs-bar,
  .hm-stats-inner { grid-template-columns: 1fr; }
  .hm-ind-row { flex-direction: column; align-items: flex-start; }
  .hm-ind-tag { text-align: left; }
  .hm-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Partner logos in mockup strip (legacy static row kept for other pages) */
.hm-logos .hm-logo-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 40px;
}
.hm-logos .hm-logo-img img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: none;
}

/* Ensure mockup header wins over legacy site-header rules */
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Detail pages under mockup chrome */
@media (max-width: 900px) {
  .wrap.detail { grid-template-columns: 1fr !important; }
}
.hidden { display: none !important; }
