/* SEO content pages; existing visual system retained. */
.service-detail{padding-top:130px;padding-bottom:70px;min-height:80vh}
.breadcrumbs{font-size:1rem;line-height:2.2;margin-bottom:32px;color:var(--text-secondary)}
.breadcrumbs a{color:var(--text);text-decoration:underline;text-underline-offset:5px}
.service-eyebrow{color:var(--soft-cyan);margin-bottom:16px}
.service-detail h1{font-size:clamp(1.8rem,4vw,3.2rem);line-height:1.6;margin-bottom:24px}
.service-intro{max-width:760px;color:var(--text-secondary);font-size:1.125rem;line-height:2.1}
.service-content{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:clamp(32px,4vw,56px);margin-top:48px;align-items:start}
.service-content article{min-width:0}
.service-content article>section{margin-bottom:44px;scroll-margin-top:24px}
.service-content h2{font-size:1.45rem;line-height:1.8;margin-bottom:16px}
.service-content h3{font-size:1.125rem;line-height:1.8;margin-bottom:12px}
.service-content p{font-size:1.0625rem;line-height:2.2;color:var(--text-secondary);margin-bottom:20px}
.service-header h1 { max-width: 960px; text-wrap: balance; }
.service-audience {
  display: flex; align-items: baseline; gap: 12px;
  max-width: 760px; margin-top: 24px; padding-inline-start: 16px;
  border-inline-start: 2px solid var(--electric-blue);
  color: var(--text-secondary); line-height: 2; font-size: 0.9375rem;
}
.service-audience strong { flex: none; color: var(--text); font-weight: 600; }
.service-page-nav {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 32px; padding: 12px 0;
  border-block: 1px solid var(--glass-border);
}
.service-page-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text-secondary); font-size: 0.9375rem; text-decoration: none;
}
.service-page-nav a:hover { color: var(--soft-cyan); }
.service-content .service-section-label {
  display: block; margin-bottom: 8px; color: var(--soft-cyan);
  font-size: 0.8125rem; font-weight: 600;
}
.service-content .service-scope-item + .service-scope-item { margin-top: 24px; }
.service-content .service-scope-item h3 { margin-bottom: 8px; }
.service-content .service-scope-item p { margin-bottom: 0; }
.service-deliverables { list-style: none; padding: 0; margin: 20px 0 0; }
.service-deliverables li {
  position: relative; padding: 16px 24px 16px 0;
  border-bottom: 1px solid var(--glass-border);
  line-height: 2; color: var(--text); font-size: 1rem;
}
.service-deliverables li::before {
  content: ''; position: absolute; inset-inline-start: 2px; top: 28px;
  width: 6px; height: 6px; background: var(--soft-cyan); border-radius: 50%;
}
.service-steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: service-step; }
.service-steps li {
  counter-increment: service-step; position: relative;
  padding: 0 56px 24px 0; min-height: 64px;
}
.service-steps li::before {
  content: counter(service-step, persian); position: absolute; inset-inline-start: 0; top: 0;
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--glass-border); border-radius: 10px;
  color: var(--soft-cyan); background: var(--primary); font-weight: 600;
}
.service-steps li:last-child { padding-bottom: 0; }
.service-steps h3 { margin-bottom: 4px; }
.service-steps p { margin-bottom: 0; font-size: 1rem; }
.service-prepare { padding: clamp(20px, 4vw, 28px); border: 1px solid var(--glass-border); border-radius: 16px; background: var(--glass-bg); }
.service-prepare .btn-primary { margin-top: 4px; }
.service-faq { border-block: 1px solid var(--glass-border); }
.service-faq summary { padding: 20px 0; font-weight: 600; line-height: 1.9; cursor: pointer; }
.service-faq summary::marker { color: var(--soft-cyan); }
.service-faq p { padding-bottom: 4px; }
/* Quiet, self-contained navigation beside the service article. */
.related-services {
  min-width: 0;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: var(--primary);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.related-services-header { padding: 24px 24px 18px; }
.related-services h2 { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; }
.related-services-header p { margin: 0; font-size: 0.875rem; line-height: 1.9; }
.related-services ul { list-style: none; margin: 0; padding: 0 16px 16px; }
.related-services li + li { border-top: 1px solid var(--glass-border); }
.related-service-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 8px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.9;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
.related-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--nav-link-hover-bg);
  color: var(--soft-cyan);
}
.related-service-icon svg { width: 17px; height: 17px; }
.related-service-arrow { width: 16px; height: 16px; color: var(--text-secondary); }
.related-service-link:focus-visible { background: var(--nav-link-hover-bg); }
.related-services-contact {
  padding: 20px 24px;
  border-top: 1px solid var(--glass-border);
}
.related-services-contact p { margin: 0 0 10px; font-size: 0.875rem; line-height: 1.9; }
.related-services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--btn-secondary-hover-border);
  border-radius: 10px;
  background: var(--nav-link-hover-bg);
  color: var(--soft-cyan);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.related-services-cta svg { width: 18px; height: 18px; flex: none; }
.related-services-email {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  text-decoration: none;
  text-underline-offset: 4px;
}
[data-theme="light"] .related-services { background: #fff; }
@media (hover: hover) {
  .related-service-link:hover { background: var(--nav-link-hover-bg); color: var(--soft-cyan); }
  .related-services-cta:hover { background: var(--btn-secondary-hover-bg); border-color: var(--electric-blue); }
  .related-services-email:hover { color: var(--text); text-decoration: underline; }
}
/* Keep every link reachable on shorter screens and at larger text sizes. */
@media (min-width: 961px) and (min-height: 850px) {
  .related-services { position: sticky; top: 104px; max-height: calc(100dvh - 128px); overflow-y: auto; }
}
a:focus-visible,button:focus-visible{outline:2px solid var(--soft-cyan);outline-offset:5px}
@media(max-width:960px){.service-content{grid-template-columns:1fr;gap:24px}.service-detail{padding-top:110px}.service-detail h1{font-size:1.8rem}}
@media(max-width:480px){.related-services-header{padding:20px 20px 16px}.related-services-contact{padding:20px}.related-services ul{padding-inline:12px}.service-audience{display:block}.service-audience strong{display:block;margin-bottom:4px}.service-page-nav{gap:4px 20px}.service-content p{font-size:1rem}.service-content h2{font-size:1.3rem}}

/* Entire service card is one accessible link, with a visible action. */
a.service-card{display:flex;flex-direction:column;color:var(--text);text-decoration:none;cursor:pointer}
a.service-card h3{text-decoration:none}
.service-card-cta{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:24px;font-size:1rem;font-weight:700;color:var(--electric-blue)}
[data-theme="dark"] .service-card-cta{color:var(--soft-cyan)}
a.service-card:hover,a.service-card:focus-visible{border-color:var(--electric-blue)}
a.service-card:focus-visible{outline:2px solid var(--electric-blue);outline-offset:4px}
@media (max-width: 560px) {
  .services-grid { gap: 12px; }
  a.service-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-content: start; column-gap: 12px; row-gap: 8px; padding: 18px; }
  .service-card .service-icon { grid-column: 1; grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 10px; margin: 0; }
  .service-card h3 { grid-column: 2; margin: 0; font-size: .9375rem; line-height: 1.8; }
  .service-card p { grid-column: 2; font-size: .8125rem; line-height: 1.9; }
  .service-card-cta { grid-column: 2; padding-top: 2px; margin-top: 0; font-size: .8125rem; }
}
