/* Page-specific стили sla.html (соглашение об уровне обслуживания).
   Общие токены, .btn/.btn-gradient/.btn-outline, .hero-gradient, .hero-logo,
   scroll-behavior и стили навигации — в assets/site.css. Стили старого
   #mobile-menu удалены: шапка давно на .site-header/.site-navigation.
   @keyframes cbSlideUp не дублируем — его вставляет assets/callback-widget.js. */
.sla-hero { position: relative; isolation: isolate; overflow: hidden; }
.sla-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sla-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,29,45,.94) 0%, rgba(26,37,48,.84) 44%, rgba(26,37,48,.35) 100%); z-index: -1; }
.sla-grid { position: absolute; inset: 0; pointer-events: none; opacity: .25; background-image: linear-gradient(#a8c3e326 1px, transparent 1px), linear-gradient(90deg, #a8c3e326 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, black); z-index: -1; }
.sla-hero-inner { padding-block: 42px 64px; }
.sla-hero .site-breadcrumb { padding-top: 0; margin-bottom: 30px; }
.sla-hero h1 { color: white; margin-bottom: 24px; }
.sla-hero-copy { max-width: 610px; font-size: 16px; line-height: 1.8; color: #c3d1e1; }
.sla-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sla-ghost { color: white; border: 1px solid #ffffff40; background: #ffffff05; }
.sla-ghost:hover { background: #ffffff15; }
.sla-summary { box-shadow: 0 24px 60px #0b122633; }
.sla-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #ffffff20; }
.sla-summary-heading .product-panel-label { margin: 0; }
.sla-summary-heading svg { width: 22px; height: 22px; color: #b7c5ef; }
.sla-summary-main { padding-block: 26px 28px; }
.sla-summary-main strong { display: block; font-size: clamp(52px, 5vw, 68px); line-height: 1.1; font-weight: 600; letter-spacing: -.055em; }
.sla-summary-main p { color: #d2dfef; font-size: 14px; margin-top: 10px; }
.sla-summary-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ffffff20; padding-top: 22px; gap: 16px; }
.sla-summary-metrics strong { display: block; color: white; font-size: 23px; font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.sla-summary-metrics span { display: block; font-size: 13px; line-height: 1.6; color: #adbed4; margin-top: 6px; }
.sla-document-section { padding-block: 64px 80px; }
.sla-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.sla-sidebar { position: sticky; top: 104px; min-width: 0; }
.sla-toc-panel { padding: 22px 12px 14px; border: 1px solid var(--site-border); background: white; border-radius: 12px; }
.sla-toc-title { margin: 0 12px 16px; color: #6275ac; }
.sla-toc { display: grid; gap: 4px; }
.sla-toc a { display: block; padding: 10px 12px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; color: #627287; font-size: 13px; line-height: 1.6; transition: background .2s, color .2s; }
.sla-toc a:hover { background: #f6f8fb; color: #2c3e50; }
.sla-toc a.active { background: #f0f3fa; border-left-color: #6876bc; color: #40568a; font-weight: 600; }
.sla-sidebar-contact { margin-top: 20px; padding: 22px 24px; border: 1px solid #dce3ef; border-radius: 12px; background: linear-gradient(145deg, #f4f5fc, #eef5fa); }
.sla-sidebar-contact .product-icon { margin-bottom: 16px; background: white; }
.sla-sidebar-contact p { color: #627287; font-size: 13px; margin-bottom: 12px; }
.sla-sidebar-contact a { display: block; color: #2c3e50; font-size: 14px; font-weight: 600; }
.sla-sidebar-contact a + a { margin-top: 6px; color: #5268a5; font-size: 13px; font-weight: 500; }
.sla-document { min-width: 0; padding: 36px; border: 1px solid var(--site-border); border-radius: 14px; background: white; }
.sla-document > .eyebrow { color: #6275ac; margin-bottom: 18px; }
.sla-preamble { padding: 24px; margin-bottom: 36px; border: 1px solid #dce3ef; border-radius: 10px; background: #f6f8fc; }
.sla-card { background: #fff; border: 1px solid var(--site-border); border-radius: 12px; padding: 24px; }
.sla-card h4 { font-size: 15px; line-height: 1.55; letter-spacing: -.015em; }
.sla-card p { color: #627287; font-size: 13px; line-height: 1.8; }
.sla-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce3ef; border-radius: 10px; background: #f4f6fb; color: #6576b5; margin-bottom: 18px; }
.sla-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; }
.sla-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; background: white; border: 1px solid var(--site-border); border-radius: 10px; overflow: hidden; }
.sla-table thead th { padding: 14px 16px; background: #f3f6fa; color: #52647b; font-weight: 600; text-align: left; border-bottom: 1px solid var(--site-border); font-size: 12px; line-height: 1.6; }
.sla-table tbody td { padding: 16px; border-bottom: 1px solid #e9edf3; color: #627287; vertical-align: top; }
.sla-table tbody tr:last-child td { border-bottom: none; }
.sla-table tbody tr:hover td { background: #f8fafc; }
.sla-table .num { font-variant-numeric: tabular-nums; font-weight: 600; color: #2c3e50; }
.sla-document .overflow-x-auto { border-radius: 10px; }
.sla-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sla-pill-green { background: #eaf4ef; color: #35624d; }
.sla-pill-yellow { background: #f8f3e5; color: #80632a; }
.sla-pill-orange { background: #fbefe6; color: #975b34; }
.sla-pill-red { background: #f8e9eb; color: #a34d58; }
h2.sla-h2 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.035em; color: #2c3e50; margin-bottom: 14px; scroll-margin-top: 110px; }
h2.sla-h2:not(#definitions) { border-top: 1px solid var(--site-border); padding-top: 32px; }
h3.sla-h3 { font-size: 18px; line-height: 1.45; font-weight: 600; color: #2c3e50; margin: 28px 0 16px; scroll-margin-top: 110px; }
.sla-document > p { color: #627287; font-size: 14px; line-height: 1.8; }
.sla-prose { font-size: 14px; }
.sla-prose p { margin-bottom: 14px; line-height: 1.85; color: #627287; }
.sla-prose ul { margin: 0; padding-left: 20px; }
.sla-prose ul li { list-style: disc; margin-bottom: 12px; line-height: 1.8; color: #627287; }
.sla-prose ul li::marker { color: #8091b8; }
.sla-prose > :last-child, .sla-prose li:last-child { margin-bottom: 0; }
.sla-prose strong { color: #2c3e50; font-weight: 600; }
.sla-prose a { color: #5268a5; text-decoration: underline; text-underline-offset: 3px; }
.formula-box { background: linear-gradient(135deg, #f6f7fc, #f0f6fa); border: 1px solid #dce3ef; border-radius: 10px; padding: 24px; color: #52647b; font-size: 14px; line-height: 1.8; }
.formula-box code { background: white; border: 1px solid #e0e6ed; border-radius: 6px; padding: 3px 8px; font-size: 13px; color: #2c3e50; overflow-wrap: anywhere; }
.sla-callout { padding: 22px; border: 1px solid #e9dfc6; border-radius: 10px; background: #fcfaf4; }
.sla-callout > div { display: flex; gap: 12px; }
.sla-callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: #98804c; }
.sla-callout p { color: #796847; font-size: 13px; line-height: 1.8; }
.sla-support-contacts { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px; border: 1px solid #dce3ef; border-radius: 12px; background: #f3f6fb; }
.sla-support-contacts h3 { font-size: 19px; font-weight: 600; color: #2c3e50; margin-bottom: 10px; }
.sla-support-contacts p { color: #627287; font-size: 13px; line-height: 1.8; }
.sla-support-actions { display: grid; gap: 10px; flex-shrink: 0; }
.sla-support-actions .btn { font-size: 13px; padding-inline: 16px; }
@media (max-width: 1100px) {
    .sla-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
    .sla-document { padding: 28px; }
    .sla-support-contacts { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 960px) {
    .sla-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .sla-sidebar { position: static; }
    .sla-toc-panel { padding: 20px; }
    .sla-toc-title { margin: 0 0 14px; }
    .sla-toc { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
    .sla-toc a { flex-shrink: 0; white-space: nowrap; border: 1px solid #e0e6ed; border-radius: 6px; }
    .sla-toc a.active { border-color: #b6c2e0; }
    .sla-sidebar-contact { display: none; }
    .sla-hero .product-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .sla-summary { width: 100%; }
}
@media (max-width: 767px) {
    .sla-hero-inner { padding-block: 24px 40px; }
    .sla-hero .site-breadcrumb { margin-bottom: 24px; }
    .sla-hero-copy { font-size: 15px; }
    .sla-hero-actions { margin-top: 24px; }
    .sla-summary-metrics { grid-template-columns: .75fr 1fr 1.25fr; gap: 10px; }
    .sla-summary-metrics strong { font-size: 21px; }
    .sla-document-section { padding-block: 32px 56px; }
    .sla-document { padding: 24px 20px; }
    .sla-toc-panel { padding: 18px; }
    .sla-card, .sla-preamble, .formula-box, .sla-support-contacts { padding: 20px; }
    .sla-support-actions { width: 100%; }
    .sla-document h2.sla-h2 { font-size: 25px; }
}
@media print {
    .sla-document-section { padding: 0; }
    .sla-layout { display: block; }
    .sla-document { border: 0; padding: 0; }
    .sla-support-contacts { display: none; }
    .sla-table tr, .sla-card { break-inside: avoid; }
}
