.hero {
  padding: 24px 64px;
  max-width: 1100px;
  margin: auto;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.15;
}

.hero p {
  margin: 0;
  max-width: 800px;
  color: #c7cbe6;
  font-size: 18px;
  line-height: 1.6;
}

.references-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 64px 80px;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reference-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reference-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 28px;
  box-sizing: border-box;

  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.reference-card:hover,
.reference-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.reference-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 240px;
  max-height: 115px;
  object-fit: contain;
}

/* MCA Technologies Ltd — no logo */
.reference-card--text {
  background:#ffffff;
  color:  #12183a;
  text-align: center;
}

.reference-card--text span {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.company-house-link {
  align-self: center;
  margin-top: 9px;

  color: #8ed3ff;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.company-house-link:hover,
.company-house-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Desktop */
@media (max-width: 1050px) {
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero {
    padding: 24px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .references-section {
    padding: 24px 24px 60px;
  }

  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .reference-card {
    height: 130px;
    padding: 18px;
  }

  .reference-card img {
    max-width: 170px;
    max-height: 85px;
  }

  .reference-card--text span {
    font-size: 18px;
  }

  .company-house-link {
    margin-top: 7px;
    font-size: 11px;
  }
}

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

  .reference-card {
    height: 140px;
  }
}