/* ==========================================================================
   Services page only.
   ========================================================================== */
.page-hero {
  min-height: 70vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px 5% 80px; position: relative; overflow: hidden;
  background-color: var(--black); /* photo layer is set inline from the Page Content admin field */
}
.page-hero-title { font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }

.services-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 80px; }
.service-overview-card { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; padding: 32px; text-align: center; transition: all .4s ease; cursor: pointer; }
.service-overview-card:hover { background: rgba(255,255,255,.05); transform: translateY(-4px); border-color: rgba(255,255,255,.1); }
.service-overview-icon { width: 64px; height: 64px; background: rgba(255,255,255,.05); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: all .3s ease; }
.service-overview-card:hover .service-overview-icon { background: var(--white); }
.service-overview-icon svg { width: 28px; height: 28px; stroke: var(--white); stroke-width: 1.5; fill: none; transition: stroke .3s ease; }
.service-overview-icon img { width: 28px; height: 28px; object-fit: contain; }
.service-overview-card:hover .service-overview-icon svg { stroke: var(--black); }
.service-overview-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.service-overview-text { font-size: 13px; color: var(--grey-light); line-height: 1.5; }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail:last-child { border-bottom: none; }
.service-detail-number { font-family: 'JetBrains Mono', monospace; font-size: 48px; font-weight: 700; color: rgba(255,255,255,.1); margin-bottom: 16px; }
.service-detail-title { font-size: 32px; font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; }
.service-detail-description { font-size: 16px; color: var(--grey-light); line-height: 1.8; margin-bottom: 24px; }
.service-detail-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.service-detail-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--grey-light); }
.service-detail-list li::before { content: ''; width: 6px; height: 6px; background: var(--white); border-radius: 50%; }
.service-detail-image { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); transition: all .5s ease; }
.service-detail:hover .service-detail-image img { filter: grayscale(0%); transform: scale(1.03); }

.process-section { background: var(--dark); }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.process-step { text-align: center; position: relative; }
.process-step::after { content: ''; position: absolute; top: 40px; left: calc(50% + 40px); width: calc(100% - 80px); height: 1px; background: rgba(255,255,255,.1); }
.process-step:nth-child(5n)::after, .process-step:last-child::after { display: none; }
.process-number { width: 80px; height: 80px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; transition: all .3s ease; }
.process-step:hover .process-number { background: var(--white); color: var(--black); border-color: var(--white); }
.process-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.process-text { font-size: 13px; color: var(--grey-light); line-height: 1.5; }

.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tool-tag { padding: 12px 24px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 100px; font-size: 14px; color: var(--grey-light); transition: all .3s ease; }
.tool-tag:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.cta-section { background-color: var(--black); /* photo layer is set inline from the Page Content admin field */ }

@media (max-width: 1200px) {
  .services-overview { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step::after { display: none; }
}
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail:nth-child(even) { direction: ltr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-overview { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}
