/* =========================================================
   Hizmet detay (/hizmetler/{slug})
   ========================================================= */
.page-service .ch, .page-service .wd { display: inline-block; }
.page-service .wd { white-space: nowrap; }
.sd-label { display: block; opacity: .55; }

/* ---------- hero ---------- */
.sd-hero { position: relative; z-index: 3; background: linear-gradient(180deg, #fcfcfc 0%, #e6e6e6 100%); color: #3c3c3e; padding: clamp(140px, 22vh, 200px) var(--pad) 0; }
.sd-crumb { display: block; margin-bottom: 26px; opacity: .6; }
.sd-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.sd-crumb span { margin: 0 6px; }
.sd-hero__title { font-size: clamp(2.8rem, 7vw, 7rem); line-height: .92; letter-spacing: -0.065em; max-width: 13ch; }
.sd-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: clamp(30px, 5vh, 50px) 0 clamp(50px, 9vh, 90px); }
.sd-hero__tag { font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.7rem); letter-spacing: -0.035em; line-height: 1.15; max-width: 520px; }
.sd-hero__cta { display: flex; flex-direction: column; gap: 14px; }
.sd-hero__cta .mono-link { width: 250px; color: #3c3c3e; }
.sd-hero__media { margin: 0 calc(var(--pad) * -1); height: 88vh; overflow: hidden; clip-path: inset(0 var(--pad) 0 var(--pad) round 10px); will-change: clip-path; }
.sd-hero__media img { width: 100%; height: 118%; object-fit: cover; display: block; will-change: transform; }

/* ---------- about ---------- */
.sd-about { position: relative; z-index: 3; background: #e6e6e6; color: #3c3c3e; display: grid; grid-template-columns: 1fr 3fr; gap: 30px; padding: clamp(90px, 15vh, 160px) var(--pad); }
.sd-about .sd-label { padding-top: .8em; }
.sd-about__text { font-family: var(--f-display); font-size: clamp(1.7rem, 3.1vw, 3rem); line-height: 1.08; letter-spacing: -0.045em; max-width: 26ch; }

/* ---------- what we do ---------- */
.sd-caps { position: relative; z-index: 3; background: var(--bg); color: var(--fg); padding: clamp(100px, 16vh, 160px) var(--pad); }
.sd-caps__head { display: grid; grid-template-columns: 1fr 3fr; gap: 30px; margin-bottom: clamp(50px, 9vh, 90px); }
.sd-caps__head .sd-label { padding-top: 1em; }
.sd-caps__head h2 { font-size: var(--h2); line-height: .95; letter-spacing: -0.06em; }
.sd-caps__list { list-style: none; margin-left: calc(25% + 8px); }
.sd-cap { position: relative; display: grid; grid-template-columns: 70px 1fr 1.15fr; gap: 24px; align-items: baseline; padding: clamp(26px, 4vh, 40px) 0; }
.sd-cap__n { font-family: var(--f-mono); font-size: 11px; opacity: .5; }
.sd-cap h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2.1vw, 2rem); letter-spacing: -0.045em; line-height: 1.05; transition: color .35s; }
.sd-cap:hover h3 { color: #fff; }
.sd-cap p { opacity: .65; max-width: 430px; }
.sd-cap__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(216,216,216,.2); transform-origin: left; }

/* ---------- process ---------- */
.sd-proc { position: relative; z-index: 3; background: linear-gradient(180deg, #fcfcfc 0%, #d2d2d2 100%); color: #3c3c3e; padding: clamp(100px, 16vh, 160px) var(--pad) clamp(90px, 14vh, 140px); }
.sd-proc__head { display: grid; grid-template-columns: 1fr 3fr; gap: 30px; margin-bottom: clamp(50px, 9vh, 90px); }
.sd-proc__head .sd-label { padding-top: 1em; }
.sd-proc__head h2 { font-size: var(--h2); line-height: .95; letter-spacing: -0.06em; }
.sd-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-left: calc(25% + 8px); }
.sd-steps .title { display: block; opacity: .6; margin-bottom: 18px; }
.sd-steps h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: -0.04em; margin-bottom: 14px; }
.sd-steps p { opacity: .7; }
.sd-steps__rail { position: relative; height: 14px; margin: clamp(36px, 6vh, 60px) 0 0 calc(25% + 8px); color: rgba(17,18,20,.55); }
.sd-steps__rail i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(17,18,20,.2); transform-origin: left; }
.sd-steps__rail svg { position: absolute; top: 0; width: 14px; height: 14px; left: calc(var(--k) * (100% + 30px) / 4 - 7px); }

/* ---------- faq ---------- */
.sd-faq { position: relative; z-index: 3; background: #d2d2d2; color: #3c3c3e; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 120px); align-items: start; padding: clamp(90px, 14vh, 140px) var(--pad); }
.sd-faq__head { position: sticky; top: 120px; }
.sd-faq__head h2 { font-size: var(--h2); line-height: .95; letter-spacing: -0.06em; margin: 16px 0 20px; }
.sd-faq__head p { opacity: .75; }
.sd-faq__head a { text-decoration: underline; text-underline-offset: 3px; }
.sd-faq__item { border-bottom: 1px solid rgba(17,18,20,.16); }
.sd-faq__btn { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 22px 0; text-align: left; color: #3c3c3e; cursor: pointer; }
.sd-faq__btn span { font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: -0.035em; line-height: 1.15; }
.sd-faq__btn svg { width: 9px; height: 11px; flex: none; margin-top: .5em; transition: transform .5s var(--ease); }
.sd-faq__item.is-open .sd-faq__btn svg { transform: rotate(180deg); }
.sd-faq__btn:hover span { color: var(--accent); }
.sd-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-io); }
.sd-faq__item.is-open .sd-faq__a { grid-template-rows: 1fr; }
.sd-faq__a > div { overflow: hidden; }
.sd-faq__a p { font-size: 15px; line-height: 1.55; opacity: .8; max-width: 620px; padding-bottom: 24px; }

/* ---------- next service ---------- */
.sd-next { position: relative; z-index: 3; background: #fcfcfc; color: #3c3c3e; padding: clamp(90px, 14vh, 140px) var(--pad) clamp(70px, 11vh, 110px); overflow: hidden; }
.sd-next__label { display: block; opacity: .55; margin-bottom: 20px; }
.sd-next__link { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px 0 30px; border-bottom: 1px solid rgba(17,18,20,.16); }
.sd-next__title { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 6rem); line-height: .95; letter-spacing: -0.06em; max-width: 14ch; transition: color .4s; position: relative; z-index: 2; }
.sd-next__arrow { width: clamp(28px, 3vw, 44px); height: clamp(28px, 3vw, 44px); flex: none; transition: transform .6s var(--ease); position: relative; z-index: 2; }
.sd-next__link:hover .sd-next__title { color: var(--accent); }
.sd-next__link:hover .sd-next__arrow { transform: translateX(10px); }
.sd-next__img { position: absolute; right: 12%; top: 50%; width: clamp(200px, 22vw, 340px); aspect-ratio: 4 / 3; transform: translateY(-50%) rotate(-4deg) scale(.6); opacity: 0; transition: opacity .45s, transform .7s var(--ease); pointer-events: none; z-index: 1; border-radius: 6px; overflow: hidden; }
.sd-next__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-next__link:hover .sd-next__img { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }
.sd-next__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 34px; }
.sd-next__foot p { max-width: 420px; opacity: .75; }
.sd-next__foot .mono-link { width: 200px; color: #3c3c3e; }

@media (max-width: 900px) {
  .sd-hero__row { flex-direction: column; align-items: flex-start; }
  .sd-hero__media { height: 60vh; }
  .sd-about, .sd-caps__head, .sd-proc__head { grid-template-columns: 1fr; gap: 16px; }
  .sd-caps__list, .sd-steps, .sd-steps__rail { margin-left: 0; }
  .sd-cap { grid-template-columns: 44px 1fr; }
  .sd-cap p { grid-column: 2; }
  .sd-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .sd-steps__rail { display: none; }
  .sd-faq { grid-template-columns: 1fr; }
  .sd-faq__head { position: static; }
  .sd-next__img { display: none; }
  .sd-next__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .sd-steps { grid-template-columns: 1fr; }
  .sd-hero__cta .mono-link { width: 100%; }
}
