/* ==========================================================================
   "Hizmetlerimiz" section (home)
   ========================================================================== */

.services {
  position: relative;
  padding: 44px 20px 40px;
  background: linear-gradient(180deg, #f7f6f6 0%, #eeeeee 100%);
}

.services__title { margin-top: 18px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.services__title-1 { display: block; font-size: 26px; color: #1e1e20; }
.services__title-2 { display: block; margin-top: 6px; font-size: 28px; color: var(--c-brown); }

.services__list { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }

.service-card { position: relative; min-height: 190px; overflow: hidden; border-radius: 6px; background: linear-gradient(135deg, #fff 0%, #ebebec 100%); box-shadow: 0 2px 10px rgba(0, 0, 0, .07); }
.service-card__link { position: relative; display: block; min-height: 190px; padding: 16px 18px; }
.service-card__number { display: block; font-size: 44px; font-weight: 600; line-height: 1; color: var(--c-peach); }
.service-card__icon { position: absolute; left: 112px; top: 36px; width: 38px; height: 38px; color: #1b1b1d; stroke-width: 1.5; }
.service-card__name { position: relative; z-index: 1; display: block; margin-top: 18px; font-size: 14px; font-weight: 700; line-height: 1.35; letter-spacing: .01em; color: #1b1b1d; }
.service-card__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 52%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent 100%);
  mask-image: linear-gradient(to top, #000 55%, transparent 100%);
}

@media (min-width: 600px) and (max-width: 991px) {
  .services__list { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 992px) {
  .services {
    margin-top: 2.4rem;
    height: 20.2rem;
    padding: 0;
    background: linear-gradient(90deg, #f8f7f7 0%, #f1f1f1 55%, #ececec 100%);
  }

  .services__intro { position: absolute; left: 5.7rem; top: 3.9rem; }
  .services .section-label { font-size: 1.1rem; letter-spacing: .09em; padding-bottom: .9rem; }
  .services .section-label::after { width: 3.2rem; height: .3rem; }
  .services__title { margin-top: 1.1rem; letter-spacing: 0; line-height: 2.65rem; }
  .services__title-1 { font-size: 2.25rem; }
  .services__title-2 { margin-top: .1rem; font-size: 2.35rem; letter-spacing: 0; }

  .services__list {
    position: absolute;
    left: 25.6rem;
    top: 1.6rem;
    display: flex;
    gap: 0;
    height: 18.4rem;
    margin: 0;
    filter: drop-shadow(0 .2rem .5rem rgba(0, 0, 0, .1));
  }
  .service-card {
    flex: 0 0 19.6rem;
    margin-right: -3.7rem;
    min-height: 0;
    height: 100%;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(160deg, #ffffff 0%, #f1f1f1 55%, #e6e6e6 100%);
    clip-path: polygon(3.7rem 0, 100% 0, calc(100% - 3.7rem) 100%, 0 100%);
  }
  .service-card:first-child { flex-basis: 19.6rem; }
  .service-card__link { height: 100%; min-height: 0; padding: 0; }
  .service-card__number {
    position: absolute;
    left: 4.5rem;
    top: .7rem;
    font-size: 3.9rem;
    letter-spacing: 0;
  }
  .service-card__icon { left: 11.2rem; top: 3.2rem; width: 3.4rem; height: 3.4rem; stroke-width: 1.4; }
  .service-card__name {
    position: absolute;
    left: 4.5rem;
    top: 8.1rem;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45rem;
    letter-spacing: 0;
  }
  .service-card__image {
    left: 3rem;
    right: 0;
    width: calc(100% - 3.4rem);
    height: 6.6rem;
    bottom: 0;
  }
}
