.gester-home-projects {
  padding: clamp(64px, 8vw, 116px) 24px;
  background: #030e28;
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
  scroll-margin-top: 96px;
}

.gester-home-projects * {
  box-sizing: border-box;
}

.gester-home-projects__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.gester-home-projects__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

.gester-home-projects__eyebrow {
  margin: 0 0 12px;
  color: #99d3df;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.gester-home-projects__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.gester-home-projects__heading > p {
  max-width: 300px;
  margin: 0 0 3px;
  color: #c7d3e0;
  font-size: 16px;
  line-height: 1.5;
}

.gester-home-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gester-home-projects__card {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.gester-home-projects__image {
  position: relative;
  height: clamp(250px, 25vw, 340px);
  overflow: hidden;
  background: #e9edf0;
}

.gester-home-projects__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gester-home-projects__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  color: #0f206c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.gester-home-projects__badge--sample {
  background: #0f206c;
  color: #fff;
}

.gester-home-projects__body {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 28px;
}

.gester-home-projects__location {
  margin: 0 0 8px;
  color: #186b99;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gester-home-projects__body h3 {
  margin: 0 0 8px;
  color: #0f206c;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.gester-home-projects__body > p:not(.gester-home-projects__location) {
  margin: 0;
  color: #60666d;
  font-size: 15px;
  line-height: 1.5;
}

.gester-home-projects__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.gester-home-projects__detail {
  color: #0f206c;
  font-size: 13px;
  font-weight: 600;
}

.gester-home-projects__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, #186b99, #22a5ab);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s ease;
}

.gester-home-projects__button svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.gester-home-projects__button:hover {
  filter: brightness(1.08);
  color: #fff;
}

.gester-home-projects__button--disabled {
  background: #e9edf0;
  color: #66717d;
  cursor: not-allowed;
}

.gester-home-projects__all {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.gester-home-projects__all:hover {
  color: #9bd6e0;
}

.gester-home-projects a:focus-visible {
  outline: 2px solid #22a5ab;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .gester-home-projects {
    padding: 64px 20px;
  }

  .gester-home-projects__heading {
    display: block;
  }

  .gester-home-projects__heading > p {
    margin-top: 12px;
  }

  .gester-home-projects__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gester-home-projects__image {
    height: 250px;
  }

  .gester-home-projects__body {
    min-height: 0;
    padding: 22px;
  }
}