

.service-page {
  padding-top: 64px;
}

/* ── HERO ── */
.service-hero {
  background: linear-gradient(135deg, #122131 0%, #06111d 60%, #2a5a8c 100%);
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,234,253,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.service-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 2;
}

.service-back {
  position: absolute;
  top: 1.5rem;
  left: 2.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(188,204,220,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.service-back:hover { color: #fff; }

.service-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(217,234,253,0.12);
  border: 1px solid rgba(188,204,220,0.25);
  color: var(--c3);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.service-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.service-hero-title {
  font-size: clamp(2.85rem, 5.2vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.service-hero-lead {
  font-size: var(--text-body-lg);
  line-height: 1.75;
  color: rgba(188,204,220,0.8);
  font-weight: 300;
  max-width: 720px;
}

/* Geniş hero — tam sayfa genişliği (yalnızca ilgili sayfada) */
.service-hero--wide .service-hero-inner {
  max-width: 1520px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}

.service-hero--wide .service-hero-tag {
  margin-left: auto;
  margin-right: auto;
}

.service-hero--wide .service-hero-title {
  font-size: clamp(2.85rem, 5.2vw, 4.25rem);
  max-width: none;
}

.service-hero--wide .service-hero-lead {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* ── BODY ── */
.service-body { background: var(--c1); }

.service-body .container {
  max-width: 1520px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.service-section p,
.service-cta-bar .section-sub {
  font-size: var(--text-body);
}

.service-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--c3);
}
.service-section:last-of-type { border-bottom: none; }
.service-section--alt { background: #fff; }

/* Genel bakış — metin tam genişlik; istatistik varsa iki kolon */
.service-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.service-overview:has(.service-stats-grid) {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.service-overview-text {
  font-size: var(--text-body);
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 100%;
}

.service-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-stat-card {
  background: #fff;
  border: 1px solid var(--c3);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.service-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.service-stat-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}

/* Yetenekler — nokta + kalın başlık + açıklama (3-3-2 grid) */
.service-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.75rem;
  row-gap: 2.5rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  width: 100%;
}

.service-capability {
  position: relative;
  padding-left: 1.1rem;
}

.service-capability::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.service-capability p {
  margin: 0;
  font-size: var(--text-body-sm);
  line-height: 1.8;
  color: var(--ink-soft);
  font-weight: 300;
}

.service-capability strong {
  font-weight: 700;
  color: var(--accent);
}

/* 8 madde: son satırda 2 blok (3-3-2) */
.service-capability:nth-child(7):nth-last-child(2) {
  grid-column: 1;
}

.service-capability:nth-child(8):last-child {
  grid-column: 2;
}

.service-overview-text + .service-overview-text {
  margin-top: 1.25rem;
}

/* Süreç adımları — bitişik ok/uç kutular */
.service-steps {
  --step-chevron: 16px;
  display: flex;
  align-items: stretch;
  gap: 3px;
  margin-top: 2.5rem;
  width: 100%;
  isolation: isolate;
}

.service-step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  margin-left: calc(var(--step-chevron) * -1);
  padding: 1.35rem 1.55rem 1.35rem 1.25rem;
  background: #fff;
  border: none;
  clip-path: polygon(
    0 0,
    calc(100% - var(--step-chevron)) 0,
    100% 50%,
    calc(100% - var(--step-chevron)) 100%,
    0 100%,
    var(--step-chevron) 50%
  );
  transition: background 0.2s ease, filter 0.2s ease;
  z-index: 1;
}

.service-step:first-child {
  margin-left: 0;
  padding-left: 1.35rem;
  clip-path: polygon(
    0 0,
    calc(100% - var(--step-chevron)) 0,
    100% 50%,
    calc(100% - var(--step-chevron)) 100%,
    0 100%
  );
}

.service-step:last-child {
  padding-right: 1.35rem;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    var(--step-chevron) 50%
  );
}

/* Adımlar arası hafif ayırıcı (dış çerçeve yok) */
.service-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 18%;
  bottom: 18%;
  right: 2px;
  width: 1px;
  background: var(--c3);
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
}

.service-step:hover,
.service-step:focus-within {
  background: var(--c2);
  z-index: 10;
  filter:
    drop-shadow(0 0 0 2px var(--accent))
    drop-shadow(0 4px 14px rgba(26, 35, 50, 0.1));
}

.service-step:hover::before,
.service-step:focus-within::before {
  opacity: 0;
}

.service-step-num {
  display: none;
}

.service-step-title {
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0;
}

.service-step-title::after {
  content: '';
  display: block;
  width: 2.25rem;
  height: 3px;
  background: var(--accent);
  margin-top: 0.55rem;
  margin-bottom: 0.7rem;
  border-radius: 1px;
}

.service-step-desc {
  font-size: var(--text-body-sm);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
  margin: 0;
}

/* CTA bar — arka plan ve metin renkleri style.css (.service-cta-bar) */

.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--c2);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-light:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .service-back {
    left: 1.25rem;
  }
  .service-hero-inner,
  .service-hero--wide .service-hero-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .service-overview { grid-template-columns: 1fr; gap: 2rem; }
  .service-body .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .service-capabilities {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
  .service-capability:nth-child(7):nth-last-child(2),
  .service-capability:nth-child(8):last-child {
    grid-column: auto;
  }
  .service-steps,
  .service-steps--5 {
    flex-direction: column;
    gap: 0.65rem;
  }
  .service-step,
  .service-step:first-child,
  .service-step:last-child {
    margin-left: 0;
    flex: none;
    clip-path: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 1.25rem 1.35rem;
    z-index: auto;
    filter: none;
  }
  .service-step::before {
    display: none;
  }
  .service-step:hover,
  .service-step:focus-within {
    border-color: var(--accent);
    background: var(--c2);
    filter: none;
    box-shadow: 0 4px 14px rgba(26, 35, 50, 0.08);
  }
}

@media (max-width: 1100px) and (min-width: 961px) {
  .service-steps {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .service-step {
    flex: 0 0 200px;
  }
  .service-step:first-child {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .service-capabilities { grid-template-columns: 1fr; }
  .service-stats-grid { grid-template-columns: 1fr 1fr; }
}
