.gateway-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
}

.gateway-header {
  padding: 2.2rem 0 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.gateway-header p {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gateway-header h1 {
  margin: 0;
  font-size: 1.9rem;
}

.gateway-main {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 1.4rem 0 2.6rem;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 460px;
  padding: 2.4rem;
  border-radius: 16px;
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.gateway-card:hover,
.gateway-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.gateway-card.painting {
  background:
    linear-gradient(160deg, rgba(8, 0, 111, 0.94), rgba(24, 24, 24, 0.96));
  border: 1px solid rgba(198, 32, 47, 0.35);
}

.gateway-card.staffing {
  background:
    linear-gradient(160deg, rgba(20, 32, 74, 0.96), rgba(24, 24, 24, 0.96));
  border: 1px solid rgba(47, 95, 219, 0.4);
}

.gateway-logo {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.6rem 0.85rem;
  background: var(--white);
  border-radius: 10px;
}

.gateway-logo img {
  width: 168px;
  height: auto;
}

.gateway-eyebrow {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gateway-card.painting .gateway-eyebrow {
  color: var(--yellow, #f4c430);
}

.gateway-card.staffing .gateway-eyebrow {
  color: #f5a623;
}

.gateway-card h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.gateway-card p.gateway-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.gateway-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.gateway-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.gateway-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: currentColor;
}

.gateway-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  font-weight: 900;
  color: var(--white);
}

.gateway-card.painting .gateway-cta {
  background: var(--red, #c6202f);
}

.gateway-card.staffing .gateway-cta {
  background: #2f5fdb;
}

.gateway-footer {
  padding: 1.4rem 0 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.gateway-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.gateway-footer a:hover,
.gateway-footer a:focus {
  color: var(--white);
}

@media (max-width: 860px) {
  .gateway-grid {
    grid-template-columns: 1fr;
  }

  .gateway-card {
    min-height: unset;
  }
}
