/* Service pages share the site's Persian typography and blue/cyan brand palette. */
.service-page-main { line-height: 1.85; }
.service-page-main h2 { font-size: clamp(1.48rem,2.45vw,2rem); line-height: 1.55; }
.service-page-main h3 { font-size: 1.15rem; }
.service-page-main em { font-style: normal; }
.service-hero { padding-block: clamp(24px,3.7vw,54px); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.94fr); gap: clamp(28px,6vw,88px); align-items: center; }
.implementation-hero { position: relative; padding-block: 0; background: #17375d; color: white; }
.implementation-hero .service-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: clamp(340px,31vw,450px); }
.implementation-hero .service-intro { padding-block: clamp(32px,4.3vw,66px); }
.implementation-hero .service-intro em { color: #8be3f8; }
.implementation-hero .service-crumb, .implementation-hero .service-intro > p { color: #e1ecfa; }
.implementation-hero .service-inline { color: white; text-decoration-color: #9bcced; }
.implementation-hero :focus-visible { outline-color: #a9efff; }
.service-intro h1 { margin: 13px 0 12px; font-size: clamp(2.3rem,4.1vw,3.85rem); font-weight: 850; line-height: 1.4; letter-spacing: normal; }
.service-intro em { color: var(--brand-link); }
.service-intro > p { max-width: 565px; line-height: 1.95; font-size: 1.06rem; color: var(--muted); }
.service-crumb { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; font-size: .875rem; color: var(--muted); }
.service-crumb a:hover { text-decoration: underline; }
.service-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; margin-top: 22px; }
.service-inline { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand-link); font-weight: 680; text-decoration: underline; text-decoration-color: #94aade; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.service-inline:hover { text-decoration-thickness: 2px; }
.service-inline .icon { width: 18px; height: 18px; }
.training-photo { position: absolute; inset-block: 0; inset-inline-end: 0; width: 49%; overflow: hidden; }
.training-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, transparent 82%, #17375d); }
.training-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.service-tabs { border-block: 1px solid var(--line); background: white; }
.service-tabs > div { display: flex; align-items: stretch; gap: clamp(15px,3vw,48px); }
.service-tabs a { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 13px 4px 10px; min-height: 56px; color: var(--muted); border-bottom: 3px solid transparent; font-size: .94rem; font-weight: 650; }
.service-tabs a:hover, .service-tabs a[aria-current] { color: var(--brand-link); }
.service-tabs a[aria-current] { border-bottom-color: var(--brand-action); }
.service-tabs .icon { height: 20px; width: 20px; }
.service-section { padding-block: clamp(36px,5.4vw,76px); }
.service-symbol { display: inline-grid; width: 44px; height: 44px; place-items: center; background: #e0f1ff; color: #285aab; border-radius: 12px; flex: none; }
.implementation-body { display: grid; grid-template-columns: minmax(245px,.67fr) minmax(0,1.38fr); gap: clamp(28px,6.5vw,95px); align-items: start; }
.prepare-panel, .account-panel { padding: clamp(19px,2.5vw,32px); border: 1px solid #cfdeee; border-radius: 15px; background: #f5f9fe; }
.prepare-panel h2, .account-panel h2 { font-size: 1.35rem; margin: 12px 0 6px; }
.service-checklist { list-style: none; padding: 0; margin: 12px 0 8px; }
.service-checklist li { display: flex; gap: 9px; align-items: start; padding-block: 10px; border-bottom: 1px solid #d9e4ef; }
.service-checklist .icon { width: 18px; height: 18px; margin-top: .42em; color: #21729f; }
.service-stages, .support-steps { list-style: none; margin: 12px 0 0; padding: 0; }
.service-stages li, .support-steps li { position: relative; padding: 16px 28px 20px 0; border-inline-start: 2px solid #cedcf5; }
.service-stages li::before, .support-steps li::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; inset-inline-start: -7px; inset-block-start: 24px; background: white; border: 3px solid #5276d5; }
.service-stages li:last-child, .support-steps li:last-child { padding-bottom: 1px; }
.service-stages { counter-reset: stage; }
.service-stages li { counter-increment: stage; padding-inline-start: 34px; margin-inline-start: 12px; }
.service-stages li::before { content: counter(stage, persian); display: grid; place-items: center; width: 27px; height: 27px; inset-inline-start: -14px; inset-block-start: 19px; font-size: .88rem; font-weight: 730; color: white; background: #375db6; border: 0; }
.service-stages dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; margin-top: 12px; }
.service-stages dl > div { padding-block-start: 8px; border-top: 1px solid var(--line); }
.service-stages dt { font-weight: 700; color: #25468f; }
.service-stages dd, .service-definitions dd { margin: 0; color: var(--muted); }
.service-stages .service-inline, .support-steps .service-inline { margin-top: 5px; }
.service-band { background: #f1f5fc; border-block: 1px solid #e2e9f4; }
.learning-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 23px; gap: 16px; }
.learning-list > a, .contract-grid article { background: white; border: 1px solid #d3dfef; padding: clamp(20px,2.2vw,30px); border-radius: 13px; }
.learning-list > a { display: flex; flex-direction: column; gap: 13px; }
.learning-list > a:hover { border-color: #819def; }
.learning-list > a:hover h3 { color: var(--brand-link); }
.learning-list p, .contract-grid p, .service-contact-strip p, .support-steps p, .account-panel p, .scope-layout p { color: var(--muted); margin-top: 6px; }
.learning-list a > div { display: flex; flex-direction: column; flex: 1; }
.learning-list a > div > span { color: var(--brand-link); font-weight: 680; font-size: .94rem; margin-top: auto; padding-top: 13px; }
.service-contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px clamp(18px,3vw,38px); border-inline-start: 4px solid var(--brand-blue); background: #f1f6ff; border-radius: 10px; margin-block: clamp(32px,4vw,56px); }
.service-contact-strip h2 { font-size: clamp(1.22rem,1.8vw,1.55rem); }
.service-contact-strip .button { flex: none; }
.support-hero { background: #eaf5f6; }
.support-hero .service-intro em { color: #24567e; }
.support-hero .button-aqua { background: var(--brand-action); color: white; }
.support-hero .button-aqua:hover { background: #294bb9; }
.support-portrait { overflow: hidden; border-radius: 14px 38px 14px 14px; }
.support-portrait img { width: 100%; aspect-ratio: 1.75; object-fit: cover; object-position: 50% 40%; }
.support-shortcuts { display: grid; grid-template-columns: 1.1fr repeat(4,minmax(0,1fr)); align-items: center; gap: 15px; padding-block: 23px; border-block-end: 1px solid var(--line); }
.support-shortcuts h2 { font-size: 1.18rem; }
.support-shortcuts a { display: flex; align-items: center; gap: 9px; min-height: 50px; padding-inline-start: 13px; border-inline-start: 1px solid var(--line); line-height: 1.65; font-weight: 640; }
.support-shortcuts .icon { color: var(--brand-link); }
.support-shortcuts a:hover { color: var(--brand-link); text-decoration: underline; text-underline-offset: 4px; }
.support-body { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(245px,.7fr); gap: clamp(32px,7vw,100px); align-items: start; }
.account-phone { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.account-phone a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--brand-link); font-weight: 750; }
.account-phone .icon { width: 18px; }
.contract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-top: 22px; }
.contract-grid article { display: flex; align-items: start; flex-direction: column; }
.contract-grid h3 { margin-top: 12px; }
.contract-grid p { margin-bottom: 16px; }
.contract-grid .button { margin-top: auto; }
.scope-layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.2fr); gap: clamp(25px,6vw,90px); padding-bottom: 0; }
.service-definitions dt { display: flex; gap: 10px; align-items: center; font-size: 1.13rem; font-weight: 730; }
.service-definitions dt .icon { color: var(--brand-link); }
.service-definitions dd { margin: 6px 0 18px; }
.faq-hero { background: linear-gradient(110deg,#e9f3fc,#f1f5ff 85%); }
.faq-intro { display: grid; grid-template-columns: 1.1fr minmax(0,.85fr); align-items: center; gap: clamp(24px,7vw,100px); margin-bottom: 5px; }
.service-search { display: grid; align-content: start; }
.service-search label { font-size: .94rem; font-weight: 680; }
.service-search-box { display: flex; align-items: center; gap: 10px; padding-inline: 13px 5px; margin-top: 6px; background: white; color: var(--brand-link); border-radius: 10px; border: 1px solid #9dafcf; }
.service-search-box:focus-within { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.service-search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding-block: 13px; line-height: 1.65; color: var(--ink); font-size: 1rem; }
.service-search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.service-search-box input::placeholder { color: #5b6d85; opacity: 1; }
.service-search-box button { padding: 6px; display: grid; place-items: center; border: 0; color: var(--muted); background: none; width: 44px; height: 44px; }
.search-count { font-size: .875rem; color: var(--muted); margin-top: 5px; min-height: 1.7em; }
.faq-layout { display: grid; grid-template-columns: minmax(215px,.56fr) minmax(0,1.5fr); align-items: start; gap: clamp(24px,6vw,84px); padding-bottom: 0; }
.faq-topics { display: grid; background: #f2f6fc; border-radius: 13px; padding: 18px 20px; position: sticky; top: 93px; }
.faq-topics h2 { font-size: 1.14rem; margin-bottom: 8px; }
.faq-topics a { display: flex; gap: 10px; align-items: center; border-top: 1px solid #d7e1f1; min-height: 48px; padding-block: 5px; }
.faq-topics a:hover { color: var(--brand-link); }
.faq-topics .icon { color: var(--brand-link); width: 19px; }
.question-group + .question-group { margin-top: clamp(26px,4vw,48px); }
.question-group h2 { font-size: 1.45rem; padding-bottom: 12px; }
.service-question { border-top: 1px solid #cad7ea; }
.service-question:last-child { border-bottom: 1px solid #cad7ea; }
.service-question summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 17px; font-weight: 670; font-size: 1.03rem; }
.service-question summary .icon { width: 18px; height: 18px; color: var(--brand-link); }
.service-question[open] > summary .icon { transform: rotate(180deg); }
.service-question[open] > summary, .service-question summary:hover { color: var(--brand-link); }
.question-answer { padding: 0 0 12px 20px; }
.question-answer p, .service-no-results p { color: var(--muted); }
.question-answer a { margin-block: 4px; }
.service-no-results { display: grid; justify-items: start; gap: 10px; }
@media (max-width:900px) {
  .implementation-body, .support-body, .faq-layout { gap: 25px; }
  .support-shortcuts { gap: 0 10px; }
  .support-shortcuts a { font-size: .94rem; }
}
@media (max-width:720px) {
  .service-hero-grid, .implementation-body, .support-body, .scope-layout, .faq-intro, .faq-layout { grid-template-columns: 1fr; }
  .service-intro h1 { margin-block: 8px; }
  .service-intro > p { font-size: 1rem; }
  .implementation-hero .service-hero-grid { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .implementation-hero .service-intro { padding-block: 26px 22px; }
  .training-photo { position: relative; width: 100%; margin-bottom: 20px; border-radius: 10px; }
  .training-photo::after { display: none; }
  .training-photo img { aspect-ratio: 2.1; height: auto; }
  .service-hero-grid { gap: 24px; }
  .service-buttons { margin-top: 15px; }
  .service-tabs > div { gap: 0; justify-content: space-between; }
  .service-tabs a { gap: 5px; font-size: .875rem; padding-inline: 2px; min-height: 51px; }
  .service-tabs .icon { width: 16px; height: 16px; }
  .learning-list, .contract-grid { grid-template-columns: 1fr; }
  .learning-list > a { flex-direction: row; align-items: start; }
  .learning-list a > div > span { padding-top: 6px; }
  .service-contact-strip { align-items: start; flex-direction: column; }
  .faq-topics { position: static; display: flex; gap: 0 16px; flex-wrap: wrap; }
  .faq-topics h2 { width: 100%; }
  .faq-topics a { font-size: .875rem; border: 0; min-height: 42px; }
}
@media (max-width:465px) {
  .service-tabs .icon { display: none; }
  .service-tabs a { font-size: .84rem; }
  .service-stages dl { grid-template-columns: 1fr; gap: 9px; }
  .support-shortcuts { padding: 16px; }
  .support-shortcuts a { gap: 6px; }
  .support-shortcuts a .icon { width: 18px; height: 18px; }
}

.service-intro h1 { font-size: clamp(2.15rem,3.7vw,3.75rem); }
.faq-hero { background: #17345f; color: white; }
.faq-hero .service-crumb, .faq-hero .service-intro > p, .faq-hero .search-count { color: #dfebfa; }
.faq-hero :focus-visible { outline-color: #8cdbf5; }
.faq-hero .service-search-box:focus-within { outline-color: #9ee6ff; }
.faq-intro { align-items: end; }
.faq-topics { background: #edf3fa; border-top: 3px solid var(--brand-blue); }
.service-symbol { border-radius: 9px; color: #23558e; background: #e4effb; }
.prepare-panel { background: #eaf4f7; border: 0; }
.contract-grid article { border: 0; border-top: 3px solid #5485ca; }
@media(max-width:900px) {
 .support-shortcuts { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
 .support-shortcuts h2 { grid-column: 1/-1; }
}
@media(max-width:700px) {
 .support-shortcuts { grid-template-columns: 1fr 1fr; }
 .support-shortcuts a { border: 0; padding: 6px; }
 .support-portrait img, .training-photo img { max-height: 205px; }
}
