.hk__vitrin figure {
  height: 540px;
}

.hk__vitrin img {
  object-position: 50% 30%;
}

.hk__metin {
  max-width: 760px;
  margin: 28px auto 0;
}

.hk__metin p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.65;
  color: #3A3A3C;
}

.hk__alinti {
  max-width: 860px;
  margin: 36px auto 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.hk__alinti p {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgb(var(--hd-koyu));
}

.hk__alinti cite {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  color: #6E6E73;
}

.hk__ilkeler {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.hk__ilkeler .hd__kart {
  padding: 24px;
  background: #fff;
}

.hk__ilkeler .hd__kart h3 {
  font-size: 18px;
}

.hk__ilkeler .hd__kart p {
  margin-top: 8px;
  line-height: 1.5;
}

.hk__uzmanlik {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
}

.hk__uzmanlik a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #F5F5F7;
  font-size: 15.5px;
  font-weight: 600;
  color: #1D1D1F;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.hk__uzmanlik a:hover,
.hk__uzmanlik a:focus-visible {
  background: rgb(var(--hd-koyu));
  color: #fff;
}

.hk__uzmanlik i {
  color: #F57C1F;
}

.hk__ofis {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 420px;
  overflow: hidden;
  border-radius: 32px;
  background: rgb(var(--hd-zemin));
  color: #fff;
}

.hk__ofis img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hk__ofis::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--hd-zemin), 0) 30%, rgba(var(--hd-zemin), 0.92) 65%);
}

.hk__ofis-yazi {
  position: relative;
  z-index: 1;
  grid-column: 2;
  align-self: center;
  padding: 40px;
}

.hk__ofis-yazi .hd__ust {
  color: #F7A55C;
}

.hk__ofis h2 {
  margin: 6px 0 0;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: #fff;
}

.hk__ofis-yazi > p:not(.hd__ust) {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1199px) {
  .hk__ilkeler {
    grid-template-columns: repeat(6, 1fr);
  }

  .hk__ilkeler .hd__kart {
    grid-column: span 2;
  }

  .hk__ilkeler .hd__kart:nth-child(n + 4) {
    grid-column: span 3;
  }
}

@media (max-width: 991px) {
  .hk__vitrin figure {
    height: 440px;
  }
}

@media (max-width: 767px) {

  .hk__ofis {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hk__ofis img {
    position: relative;
    height: 220px;
  }

  .hk__ofis::after {
    display: none;
  }

  .hk__ofis-yazi {
    grid-column: 1;
    padding: 24px;
  }
}

@media (max-width: 575px) {
  .hk__vitrin figure {
    height: 340px;
  }

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

  .hk__ilkeler {
    grid-template-columns: 1fr;
  }

  .hk__ilkeler .hd__kart,
  .hk__ilkeler .hd__kart:nth-child(n + 4) {
    grid-column: auto;
    padding: 20px;
  }

  .hk__uzmanlik a {
    font-size: 14.5px;
  }
}
