/* Страницы «О нас» и «О компании Xiaomi» — стиль сайта (дополняет info-pages.css) */
body:has(.ab-page) { background: #f7f7f7; }
body:has(.ab-page) h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: #16161d; margin: 28px 0 24px; text-align: left; }
.ab-page { padding-bottom: 48px; color: #16161d; text-align: left; }
.ab-page h2 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; margin: 34px 0 14px; color: #16161d; }
.ab-page h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #16161d; }
.ab-page p { font-size: 14.5px; line-height: 1.6; color: #4a4d58; margin: 0 0 10px; }
.ab-page a { text-decoration: none; }

.ab-g { display: grid; gap: 14px; }
.ab-hero { grid-template-columns: 1fr 1fr; }
.ab-c3 { grid-template-columns: repeat(3, 1fr); }
.ab-span2 { grid-column: span 2; }
.ab-card { background: #fff; border-radius: 24px; padding: 26px; }
.ab-dark { background: #16161d; }
.ab-dark h2, .ab-dark h3 { color: #fff; }
.ab-dark p { color: #c9ccd4; }
.ab-org { background: #ff6900; }
.ab-org h3 { color: #fff; }
.ab-org p { color: #fff3e8; }
.ab-tint { background: #fff4e8; }
.ab-tint p { color: #6a4a22; }

.ab-heroT { padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ab-heroT h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 12px; color: #fff; }
.ab-heroT p { font-size: 16px; }
.ab-heroI { display: flex; align-items: center; justify-content: center; }
.ab-heroI img { max-width: 100%; height: auto; display: block; }

.ab-btn { display: inline-block; background: #ff6900; color: #fff !important; font-weight: 700; font-size: 14.5px; padding: 12px 22px; border-radius: 99px; margin-top: 14px; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.ab-btn:hover { background: #e55e00; }
.ab-btn.k { background: #16161d; }
.ab-btn.k:hover { background: #33333d; }
.ab-btn.w { background: #fff; color: #16161d !important; }

.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.ab-stat { background: #fff; border-radius: 22px; padding: 20px 22px; }
.ab-num { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: #ff6900; line-height: 1; }
.ab-num small { font-size: 18px; font-weight: 700; }
.ab-lab { font-size: 13px; color: #8a8f9c; margin-top: 6px; line-height: 1.35; }

.ab-ic { width: 44px; height: 44px; border-radius: 14px; background: #fff2e8; color: #ff6900; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.ab-wide { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ab-wide > div:first-child { flex: 1; min-width: 220px; }
.ab-deco { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.ab-phone { font-size: 22px; font-weight: 800; margin-top: 10px; color: #fff; }

.ab-parts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.ab-parts .good { width: 64px; height: 64px; border-radius: 50% !important; margin: 0; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.ab-parts .good img { max-width: 100%; max-height: 100%; }

.ab-dl { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.ab-dli { background: rgba(255, 255, 255, .08); border-radius: 22px; padding: 18px; text-align: center; font-size: 14px; font-weight: 600; color: #fff; }
.ab-dli img { width: 56px; display: block; margin: 0 auto 8px; }
.ab-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ab-cta > div { flex: 1; min-width: 240px; }
.ab-cta .ab-btn { margin: 0; }

/* хронология «О компании Xiaomi» */
.ab-tl { position: relative; padding-left: 30px; }
.ab-tl:before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: #ffd9bf; }
.ab-ti { position: relative; background: #fff; border-radius: 24px; overflow: hidden; margin-top: 14px; }
.ab-ti:first-child { margin-top: 0; }
.ab-tl .ab-ti:before { content: ""; position: absolute; left: -27px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: #ff6900; border: 3px solid #f7f7f7; box-sizing: content-box; }
.ab-ti img { display: block; width: 100%; height: auto; }
.ab-ti .cap { padding: 16px 24px 20px; }
.ab-yr { font-size: 13px; font-weight: 800; color: #ff6900; letter-spacing: .06em; margin-bottom: 4px; }
.ab-ti h3 { font-size: 18px; margin-bottom: 6px; }
.ab-ti p { margin-bottom: 8px; }
.ab-ti p:last-child { margin-bottom: 0; }
.ab-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ab-g2 .ab-ti { margin-top: 0; }
.ab-more { margin-top: 12px; }
.ab-more summary { list-style: none; cursor: pointer; color: #ff6900; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; background: #fff2e8; border-radius: 99px; padding: 8px 16px; }
.ab-more summary:hover { background: #ffe5d1; }
.ab-more summary::-webkit-details-marker { display: none; }
.ab-more summary::after { content: "+"; font-size: 18px; line-height: 1; }
.ab-more[open] summary::after { content: "\2212"; }
.ab-more .ab-more__body { margin-top: 12px; }
.ab-intro { margin-top: 14px; }
.ab-intro p { font-size: 15.5px; margin: 0; }
.ab-g2 .ab-ti--wide { grid-column: 1 / -1; }
.ab-g2--one { grid-template-columns: 1fr; }
.ab-fact { background: #fff; }
.ab-fact .cap { padding: 24px; }
.ab-fact .ab-bignum { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: #ff6900; line-height: 1; margin: 2px 0 10px; }
.ab-fact--dark { background: #16161d; }
.ab-fact--dark h3, .ab-fact--dark .ab-bignum { color: #fff; }
.ab-fact--dark .ab-bignum { color: #ff6900; }
.ab-fact--dark p { color: #c9ccd4; }
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ab-chips span { background: #16161d; color: #fff; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 99px; white-space: nowrap; }
.ab-quote { font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: #fff; }

@media (max-width: 991.98px) {
    .ab-stats { grid-template-columns: 1fr 1fr; }
    .ab-c3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
    body:has(.ab-page) h1 { font-size: 26px; margin-top: 20px; }
    .ab-page h2 { font-size: 20px; margin-top: 26px; }
    .ab-hero, .ab-c3, .ab-dl, .ab-g2 { grid-template-columns: 1fr; }
    .ab-span2 { grid-column: auto; }
    .ab-card { padding: 20px 16px; border-radius: 22px; }
    .ab-heroT { padding: 26px 18px; }
    .ab-heroT h2 { font-size: 25px; }
    .ab-num { font-size: 34px; }
    .ab-ti .cap { padding: 14px 16px 18px; }
    .ab-quote { font-size: 18px; }
}
