/*
  Hizmetler (hizmetler/index) — tasarımın isServices bloğu.
  Hizmet grupları 'hizmet_gruplari' alanından, galeri 'hizmet_gorselleri' (grup başına 3 görsel).
  Responsive kurallar tasarımın helmet'indeki [data-rsp="svchead|svcbody|svcgal"] karşılıkları.
*/

#page-services { position: relative; width: 100%; overflow-x: clip; background: #ffffff; color: #151515; }
#page-services h2, #page-services h3, #page-services p { margin: 0; }

#page-services .crumb-area { padding: 150px 7.002% 0; }
#page-services .crumb { font-weight: 700; font-size: 12px; line-height: 12px; white-space: nowrap; color: #151515; }
#page-services .crumb-gap { height: 40px; }

#page-services .svc-block { padding: clamp(80px, 8.5vw, 150px) 7.002% 0; }

/* Grup başlığı */
#page-services .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 60px); align-items: start; }
#page-services .head.rule { border-top: 1px solid rgba(21, 21, 21, 0.14); padding-top: 34px; }
#page-services .head .eyebrow { font-family: 'Eudoxus Sans', var(--font); font-weight: 700; font-size: 12px; line-height: 12px; letter-spacing: 0.08em; white-space: nowrap; color: rgba(21, 21, 21, 0.55); }
#page-services .head .title-link { display: block; text-decoration: none; }
#page-services .head .title { margin: -0.14em 0 0; font-weight: 500; font-size: clamp(30px, 3.9vw, 68px); line-height: 1.02; letter-spacing: -0.03em; color: #151515; text-wrap: pretty; transition: opacity .3s ease; display: inline-flex; align-items: center; gap: clamp(12px, 1.2vw, 20px); }
#page-services .head .title:hover { opacity: .7; }
#page-services .head .title .arrow { flex: 0 0 auto; width: clamp(36px, 3.2vw, 56px); height: clamp(36px, 3.2vw, 56px); border-radius: 50%; background: rgb(236, 255, 93); display: inline-flex; align-items: center; justify-content: center; font-size: clamp(18px, 1.6vw, 26px); line-height: 1; letter-spacing: 0; color: #151515; transform: translateY(0.06em); }

/* Grup gövdesi */
#page-services .body { margin-top: clamp(40px, 5vw, 90px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 60px); align-items: start; }
#page-services .body .t { margin: 0; font-weight: 700; font-size: 17px; line-height: 20px; color: #151515; }
#page-services .body .d { margin: 14px 0 0; max-width: 430px; font-weight: 400; font-size: 16px; line-height: 23px; color: rgba(21, 21, 21, 0.6); text-wrap: pretty; }
#page-services .stats { margin-top: clamp(32px, 4vw, 64px); display: flex; gap: clamp(32px, 5vw, 90px); flex-wrap: wrap; }
#page-services .stat .k { font-weight: 400; font-size: 16px; line-height: 20px; color: rgba(21, 21, 21, 0.5); }
#page-services .stat .v { margin-top: 8px; font-weight: 500; font-size: clamp(20px, 1.6vw, 26px); line-height: 30px; white-space: nowrap; color: #151515; }

#page-services .items { margin-top: 18px; display: flex; flex-direction: column; }
#page-services .item { border-top: 1px solid rgba(21, 21, 21, 0.12); padding: 15px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; text-decoration: none; transition: padding-left .4s cubic-bezier(.16, 1, .3, 1); }
#page-services .item:hover { padding-left: 10px; }
#page-services .item .label { min-width: 0; display: inline-flex; align-items: baseline; gap: 10px; font-weight: 400; font-size: clamp(16px, 1.15vw, 19px); line-height: 24px; color: #151515; }
#page-services .item .label .arrow { font-size: 15px; line-height: 1; color: rgba(21, 21, 21, 0.45); }
#page-services .item .no { font-family: 'Eudoxus Sans', var(--font); font-weight: 700; font-size: 12px; line-height: 12px; letter-spacing: 0.06em; white-space: nowrap; color: rgba(21, 21, 21, 0.3); }

/* Görseller + CTA kartı */
#page-services .gallery { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 16px; }
#page-services .tile { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: rgb(239, 239, 239); }
#page-services .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
#page-services .tile img:hover { transform: scale(1.04); }
#page-services .cta { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #ecff5d; padding: clamp(18px, 1.6vw, 26px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: background-color .4s ease; }
#page-services .cta:hover { background-color: #e2f542; }
#page-services .cta .lead { font-weight: 700; font-size: 17px; line-height: 22px; color: #151515; text-wrap: pretty; }
#page-services .cta .go { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: clamp(20px, 1.7vw, 28px); line-height: 30px; letter-spacing: -0.02em; white-space: nowrap; color: #151515; }
#page-services .cta .go span { font-weight: 400; }

#page-services .end-gap { height: clamp(80px, 9vw, 160px); }

@media (max-width: 1100px) {
    #page-services .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #page-services .gallery > div:nth-of-type(n+3) { display: none; }
}
@media (max-width: 760px) {
    #page-services .gallery { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 32px; }
    #page-services .gallery > div:nth-of-type(n+1) { display: none; }
    #page-services .gallery > a { aspect-ratio: auto; min-height: 132px; gap: 22px; padding: 20px; }
    #page-services .head { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
    #page-services .body { grid-template-columns: minmax(0, 1fr); margin-top: 26px; row-gap: 26px; }
    #page-services .body > :first-child { order: 2; }
    #page-services .body > :first-child > h3, #page-services .body > :first-child > p { display: none; }
    #page-services .body > :first-child > div { margin-top: 0; }
    #page-services .body > :last-child > h3 { display: none; }
    #page-services .body > :last-child > div { margin-top: 0; }
    #page-services .gallery > a > span:first-child { font-size: 15px; line-height: 20px; }
    #page-services .gallery > a > span:last-child { font-size: 22px; line-height: 26px; }
}
