/* Дополнительные стили внутренних страниц РИЧ-АР */
.service-hero{position:relative;overflow:hidden;padding:clamp(75px,10vw,130px) 0 90px;background:radial-gradient(ellipse at 85% 20%,rgba(143,0,238,.14),transparent 32%),radial-gradient(ellipse at 10% 90%,rgba(81,186,253,.13),transparent 35%),linear-gradient(135deg,#f8f7fb,#fff 58%,#f5faff)}
.service-hero:after{content:"";position:absolute;right:-110px;top:-150px;width:460px;height:460px;border:1px solid rgba(143,0,238,.13);border-radius:50%;box-shadow:0 0 0 45px rgba(143,0,238,.025),0 0 0 90px rgba(81,186,253,.025);pointer-events:none}
.service-hero__inner{position:relative;z-index:1}.service-hero h1{max-width:900px;margin:24px 0 20px;color:var(--ink);font-size:clamp(42px,6vw,76px);line-height:1.04;letter-spacing:-.055em}.service-hero h1 span{color:var(--purple)}.service-hero__lead{max-width:720px;color:var(--muted);font-size:clamp(17px,2vw,21px);line-height:1.7}.service-intro{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end;margin-bottom:35px}.service-intro h2{margin:15px 0 0;font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-.04em}.service-intro h2 span{color:var(--purple)}.service-intro>p{margin:0;color:var(--muted);font-size:15px;line-height:1.85}.service-detail-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.service-detail-card{padding:34px;border:1px solid #e8e6ee;border-radius:18px;background:#fff}.service-detail-card h3{margin:0 0 22px;font-size:23px}.service-detail-card ul{display:grid;grid-template-columns:1fr 1fr;gap:17px 25px;padding:0;margin:0;list-style:none}.service-detail-card li{position:relative;padding-left:19px;color:#555267;font-size:13px;line-height:1.6}.service-detail-card li:before{content:"";position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:50%;background:var(--orange)}.service-detail-card--accent{background:linear-gradient(145deg,#f8f2ff,#f2f9ff);border-color:#e8dcf6}.service-detail-card--accent h3{margin:14px 0}.service-detail-card--accent p{color:#555267;font-size:15px;line-height:1.8}.service-detail-note{margin-top:25px;padding-top:18px;border-top:1px solid rgba(50,40,80,.12);color:#777487;font-size:12px;line-height:1.7}.service-process{background:#f8f8fb}.service-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:42px}.service-steps>div{padding:24px;border:1px solid #e8e6ee;border-radius:15px;background:#fff}.service-steps b{color:var(--orange);font-size:13px}.service-steps h3{margin:16px 0 8px;font-size:18px}.service-steps p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}
@media(max-width:780px){.service-hero{padding:65px 0}.service-intro,.service-detail-grid{grid-template-columns:1fr;gap:24px}.service-detail-card{padding:25px}.service-detail-card ul{grid-template-columns:1fr}.service-steps{grid-template-columns:1fr 1fr}.service-hero h1{font-size:clamp(39px,10vw,56px)}}
@media(max-width:480px){.service-steps{grid-template-columns:1fr}}

/* RICH-AR: единая типографика внутренних страниц — значения соответствуют главной */

/* Заголовок внутренней страницы: точное соответствие главному заголовку первого экрана */
.service-hero h1 {
  max-width: 700px;
  font-size: clamp(48px, 5.2vw, 72px) !important;
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -.055em;
}
@media (max-width: 1050px) {
  .service-hero h1 { font-size: clamp(42px, 7vw, 58px) !important; }
}
@media (max-width: 560px) {
  .service-hero h1 {
    max-width: 100%;
    font-size: clamp(37px, 10vw, 45px) !important;
    line-height: 1.08;
    letter-spacing: -.05em;
  }
}
@media (max-width: 370px) {
  .service-hero h1 { font-size: 36px !important; }
}

/* Лид под заголовком — как текст первого экрана главной */
.service-hero__lead {
  font-size: calc(19px * var(--richar-text-scale, 1)) !important;
  line-height: 1.65;
}
@media (max-width: 560px) {
  .service-hero__lead {
    font-size: calc(16px * var(--richar-text-scale, 1)) !important;
    line-height: 1.6;
  }
}

/* Заголовки секций — как заголовки секций главной */
.service-intro h2,
.service-process .section-heading h2 {
  font-size: calc(clamp(32px, 4vw, 47px) * var(--richar-text-scale, 1)) !important;
  line-height: 1.15;
  letter-spacing: -.04em;
}
@media (max-width: 850px) {
  .service-intro h2,
  .service-process .section-heading h2 {
    font-size: clamp(42px, 7vw, 58px) !important;
    line-height: 1.08;
    letter-spacing: -.045em;
  }
}
@media (max-width: 560px) {
  .service-intro h2,
  .service-process .section-heading h2 {
    font-size: clamp(37px, 10vw, 45px) !important;
    line-height: 1.08;
    letter-spacing: -.05em;
  }
}
@media (max-width: 370px) {
  .service-intro h2,
  .service-process .section-heading h2 {
    font-size: 36px !important;
  }
}

/* Описания и основной текст — размеры аналогичных элементов главной */
.service-intro > p,
.service-process .section-heading > p {
  font-size: calc(14px * var(--richar-text-scale, 1)) !important;
  line-height: 1.8;
}
.service-detail-card h3 {
  font-size: calc(23px * var(--richar-text-scale, 1)) !important;
  line-height: 1.2;
}
.service-detail-card li {
  font-size: calc(11px * var(--richar-text-scale, 1)) !important;
  line-height: 1.5;
}
.service-detail-card--accent p {
  font-size: calc(12px * var(--richar-text-scale, 1)) !important;
  line-height: 1.8;
}
.service-detail-note {
  font-size: calc(12px * var(--richar-text-scale, 1)) !important;
  line-height: 1.65;
}

/* Карточки этапов — как карточки процесса на главной */
.service-steps b {
  font-size: calc(12px * var(--richar-text-scale, 1)) !important;
}
.service-steps h3 {
  font-size: calc(17px * var(--richar-text-scale, 1)) !important;
  line-height: 1.25;
}
.service-steps p {
  font-size: calc(12px * var(--richar-text-scale, 1)) !important;
  line-height: 1.75;
}

/* Внутренние страницы используют то же центрирование мобильных заголовков */
@media (max-width: 780px) {
  .service-hero__inner,
  .service-intro,
  .service-process .section-heading {
    text-align: center;
  }
  .service-hero .eyebrow,
  .service-intro .eyebrow,
  .service-process .eyebrow {
    justify-content: center;
  }
  .service-hero h1,
  .service-intro h2,
  .service-process .section-heading h2 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .service-hero__lead,
  .service-intro > p,
  .service-process .section-heading > p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .service-detail-card h3,
  .service-steps h3 {
    text-align: center;
  }
  .service-detail-card li {
    font-size: calc(11px * var(--richar-text-scale, 1)) !important;
  }
}
