/*
 * Страница «О нас» (/about_us) — редизайн по шаблону «Шаблон страницы О нас СканТур v8».
 *
 * Правила перенесены из макета в том же порядке, включая его доработки поверх базовых
 * блоков. Классы макета получили префикс ab-, токены — --ab-*, селекторы прижаты к
 * body.about-redesign: макет использует .container, .section, .btn, а они уже заняты
 * в main.min.css. Шапка, подвал, крошки и просмотр фото из макета не переносились —
 * шапка с подвалом общие для сайта, крошки отдаёт yoast_breadcrumb().
 *
 * Контент и разметка — inc/about-page.php, поведение — js/about-page.js.
 */

body.about-redesign .ab-page{--ab-forest:#06652e;--ab-dark:#064923;--ab-ink:#152019;--ab-muted:#65716a;--ab-line:#dce4de;--ab-bg:#f3f6f2;--ab-soft:#e8f2eb;--ab-shadow:0 8px 25px rgba(20,54,34,.08);--ab-max:1370px}
body.about-redesign .ab-page{background:var(--ab-bg);color:var(--ab-ink);font:400 16px/1.5 Rubik,system-ui,sans-serif;-webkit-font-smoothing:antialiased}

/* Сбросы макета для тегов держим внутри :where(), чтобы их вес остался как в макете:
   иначе `.ab-page a` перебивает `.ab-text-link` и ссылки теряют цвет и подчёркивание. */
:where(body.about-redesign .ab-page) *{box-sizing:border-box}
:where(body.about-redesign .ab-page) button, :where(body.about-redesign .ab-page) input{font:inherit}
:where(body.about-redesign .ab-page) button{cursor:pointer}
:where(body.about-redesign .ab-page) a{color:inherit;text-decoration:none}
:where(body.about-redesign .ab-page) img{display:block;max-width:100%}
:where(body.about-redesign .ab-page) button, :where(body.about-redesign .ab-page) a{touch-action:manipulation}
:where(body.about-redesign .ab-page) button:focus-visible, :where(body.about-redesign .ab-page) a:focus-visible, :where(body.about-redesign .ab-page) [tabindex]:focus-visible{outline:3px solid rgba(6,101,46,.25);outline-offset:4px}
:where(body.about-redesign .ab-page) button:disabled{cursor:default;opacity:.35}
:where(body.about-redesign .ab-page) h1, :where(body.about-redesign .ab-page) h2, :where(body.about-redesign .ab-page) h3, :where(body.about-redesign .ab-page) p, :where(body.about-redesign .ab-page) figure{margin:0}
:where(body.about-redesign .ab-page) h1{font-size:clamp(34px,4.5vw,58px);line-height:1.05;letter-spacing:-.035em;font-weight:700}
:where(body.about-redesign .ab-page) h2{font-size:clamp(27px,3.2vw,40px);line-height:1.08;letter-spacing:-.03em;font-weight:600}
:where(body.about-redesign .ab-page) h3{font-size:20px;line-height:1.25;font-weight:600}
/* Поля — как у шапки и подвала сайта: контейнер 1370px, по краям 35px. */
body.about-redesign .ab-shell{width:min(calc(100% - 70px),var(--ab-max));margin-inline:auto}
body.about-redesign .ab-section{margin-top:70px}
body.about-redesign .ab-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
body.about-redesign .ab-section-head p{font-size:15px;line-height:1.6;color:var(--ab-muted);max-width:410px}
body.about-redesign .ab-card{background:#fff;border:1px solid rgba(6,101,46,.1);border-radius:22px;box-shadow:var(--ab-shadow)}
body.about-redesign .ab-icon-button{display:grid;place-items:center;flex:none;border:1px solid var(--ab-line);width:42px;height:42px;padding:0;border-radius:12px;background:#fff;color:var(--ab-forest)}
body.about-redesign .ab-icon-button:hover:not(:disabled){background:var(--ab-soft)}
body.about-redesign .ab-icon-button svg, body.about-redesign .ab-inline-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.about-redesign .ab-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border:1px solid transparent;border-radius:13px;padding:12px 21px;font-size:15px;font-weight:600;line-height:1.35;text-align:center;transition:background .18s,transform .18s}
body.about-redesign .ab-btn:hover{transform:translateY(-1px)}
body.about-redesign .ab-btn-ghost{background:#fff;border-color:var(--ab-line);color:var(--ab-forest)}
body.about-redesign .ab-btn-ghost:hover{background:#fbfdfb;border-color:#a8c7b1}
body.about-redesign .ab-text-link{display:inline-flex;gap:8px;align-items:center;color:var(--ab-forest);font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
body.about-redesign .ab-text-link .ab-inline-icon{width:18px;height:18px}
body.about-redesign .ab-hero{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:44px;align-items:center}
body.about-redesign .ab-hero-copy{padding:18px 0}
body.about-redesign .ab-hero-copy h1{max-width:12ch}
body.about-redesign .ab-hero-text>p{font-size:20px;line-height:1.55;margin-top:24px;max-width:510px;color:var(--ab-muted)}
body.about-redesign .ab-hero-photo{border-radius:24px;overflow:hidden;position:relative;min-height:440px;background:#dce4de}
body.about-redesign .ab-hero-photo>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
body.about-redesign .ab-hero-photo:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(8,35,17,.72))}
body.about-redesign .ab-travel-care{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);overflow:hidden}
body.about-redesign .ab-care-photo{position:relative;min-height:460px}
body.about-redesign .ab-care-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.about-redesign .ab-care-list{padding:12px 30px}
body.about-redesign .ab-care-item{display:flex;gap:18px;padding:24px 0;border-bottom:1px solid var(--ab-line)}
body.about-redesign .ab-care-item:last-child{border-bottom:0}
body.about-redesign .ab-care-icon{background:#edf6ef;border:1px solid #dce4de;border-radius:12px;width:44px;height:44px;display:grid;place-items:center;color:var(--ab-forest);flex:none}
body.about-redesign .ab-care-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
body.about-redesign .ab-care-item p{margin:9px 0 12px;font-size:16px;line-height:1.65;color:var(--ab-muted)}
body.about-redesign .ab-care-item .ab-text-link{font-size:14px}
body.about-redesign .ab-document-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch}
body.about-redesign .ab-document-card{display:flex;flex-direction:column;text-align:left;padding:16px;width:100%;color:var(--ab-ink);transition:transform .18s,border-color .18s}
body.about-redesign .ab-document-card:hover{transform:translateY(-2px);border-color:#a8c7b1}
body.about-redesign .ab-document-preview{display:grid;place-items:center;width:100%;height:200px;padding:14px;background:var(--ab-bg);border:1px solid var(--ab-line);border-radius:14px}
body.about-redesign .ab-document-preview img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 7px rgba(21,32,25,.08))}
body.about-redesign .ab-document-title{font-size:18px;font-weight:600;line-height:1.3;margin-top:6px;display:block}
body.about-redesign .ab-document-grid{margin-bottom:20px}
body.about-redesign .ab-register-note{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ab-muted);margin-top:20px}
body.about-redesign .ab-register-note .ab-inline-icon{flex:none;color:var(--ab-forest)}
body.about-redesign .ab-eco-block{display:grid;grid-template-columns:1fr .95fr;gap:48px;align-items:center}
body.about-redesign .ab-eco-visual{min-width:0}
body.about-redesign .ab-eco-photo{position:relative;padding:0;border:0;background:#dce4de;display:block;width:100%;aspect-ratio:1;border-radius:22px;overflow:hidden}
body.about-redesign .ab-eco-photo img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .25s}
body.about-redesign .ab-eco-photo:hover img{transform:scale(1.025)}
body.about-redesign .ab-photo-hint{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.5);border-radius:12px;background:#fff;color:var(--ab-forest);box-shadow:var(--ab-shadow)}
body.about-redesign .ab-photo-hint svg{width:20px;height:20px}
body.about-redesign .ab-eco-photo-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-top:14px}
body.about-redesign .ab-photo-dots{display:flex;gap:6px;flex:none}
body.about-redesign .ab-photo-dot{width:30px;height:30px;display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:9px;padding:0}
body.about-redesign .ab-photo-dot:before{content:"";width:7px;height:7px;background:#b3c2b7;border-radius:50%}
body.about-redesign .ab-photo-dot[aria-pressed=true]{border-color:#bdd5c5;background:#e8f2eb}
body.about-redesign .ab-photo-dot[aria-pressed=true]:before{background:var(--ab-forest)}
body.about-redesign .ab-eco-copy h2{margin-bottom:24px}
body.about-redesign .ab-eco-copy>p{font-size:18px;line-height:1.65;max-width:510px}
body.about-redesign .ab-eco-roles{margin:24px 0 28px;padding:0;list-style:none}
body.about-redesign .ab-eco-roles li{padding:17px 0;border-bottom:1px solid var(--ab-line);font-size:16px;line-height:1.55;color:var(--ab-muted)}
body.about-redesign .ab-eco-roles li:first-child{border-top:1px solid var(--ab-line)}
body.about-redesign .ab-eco-roles strong{display:block;font-size:16px;color:var(--ab-ink);font-weight:500;margin-bottom:4px}
body.about-redesign .ab-history-controls{display:flex;align-items:center;gap:8px;flex:none}
body.about-redesign .ab-history-counter{font-size:14px;color:var(--ab-muted);margin-right:8px;white-space:nowrap}
body.about-redesign .ab-history-shell{padding:26px;background:#fff;border-radius:24px;border:1px solid var(--ab-line);box-shadow:var(--ab-shadow)}
body.about-redesign .ab-year-track{display:flex;overflow-x:auto;gap:0;scrollbar-width:none;scroll-behavior:smooth;cursor:grab;overscroll-behavior-x:contain;padding:6px 2px 18px;user-select:none;touch-action:pan-x;position:relative}
body.about-redesign .ab-year-track.ab-is-dragging{cursor:grabbing;scroll-behavior:auto}
body.about-redesign .ab-year-tab{position:relative;flex:0 0 98px;border:0;background:none;padding:10px 8px 25px;color:var(--ab-muted);font-size:16px;font-weight:500;white-space:nowrap;scroll-snap-align:start}
body.about-redesign .ab-year-tab:before{content:"";position:absolute;bottom:7px;left:0;right:0;height:2px;background:var(--ab-line)}
body.about-redesign .ab-year-tab:after{content:"";position:absolute;bottom:2px;left:calc(50% - 6px);width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#bdcfc3;box-shadow:0 0 0 1px #bdcfc3}
body.about-redesign .ab-year-tab[aria-selected=true]{color:var(--ab-forest);font-weight:700}
body.about-redesign .ab-year-tab[aria-selected=true]:after{background:var(--ab-forest);box-shadow:0 0 0 2px var(--ab-forest)}
body.about-redesign .ab-year-tab:hover{color:var(--ab-forest)}
body.about-redesign .ab-year-tab:focus-visible{outline-offset:-3px;border-radius:10px}
body.about-redesign .ab-history-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center;min-height:390px;touch-action:pan-y}
body.about-redesign .ab-history-copy{padding:12px 20px 12px 6px}
body.about-redesign .ab-history-year{display:block;color:var(--ab-forest);font-size:clamp(40px,5vw,64px);line-height:1;font-weight:600;letter-spacing:-.04em;margin-bottom:22px}
body.about-redesign .ab-history-copy h3{font-size:24px;line-height:1.25;margin-bottom:18px}
body.about-redesign .ab-history-copy>p{font-size:16px;line-height:1.7;color:var(--ab-muted);max-width:470px}
body.about-redesign .ab-history-copy>.ab-text-link{margin-top:24px;font-size:14px}
body.about-redesign .ab-history-media{min-width:0}
body.about-redesign .ab-event-photo{display:block;width:100%;height:338px;position:relative;border:0;border-radius:14px;overflow:hidden;background:var(--ab-bg);padding:0}
body.about-redesign .ab-event-photo img{width:100%;height:100%;object-fit:cover}
body.about-redesign .ab-event-photo.ab-is-document{padding:16px;background:#edf2ed}
body.about-redesign .ab-event-photo.ab-is-document img{object-fit:contain}
body.about-redesign .ab-event-photo[hidden]{display:none}
body.about-redesign .ab-event-meta{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin-top:12px;min-height:42px}
body.about-redesign .ab-event-caption{font-size:14px;line-height:1.5;color:var(--ab-muted);max-width:420px}
body.about-redesign .ab-event-dots{display:flex;gap:4px}
body.about-redesign .ab-history-panel.ab-is-dragging{cursor:grabbing;user-select:none}
body.about-redesign .ab-history-panel.ab-is-dragging a, body.about-redesign .ab-history-panel.ab-is-dragging button{pointer-events:none}
:where(body.about-redesign .ab-page) dialog{color:var(--ab-ink);font:inherit}
:where(body.about-redesign .ab-page) dialog::backdrop{background:rgba(8,26,16,.76)}
body.about-redesign .ab-viewer{width:min(1120px,calc(100% - 32px));max-width:none;padding:0;border:1px solid var(--ab-line);border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.28)}
body.about-redesign .ab-viewer[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}
body.about-redesign .ab-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--ab-line);flex:none}
body.about-redesign .ab-viewer-head h2{font-size:20px;letter-spacing:0;line-height:1.35}
body.about-redesign .ab-viewer-stage{position:relative;min-height:0;flex:1;overflow:auto;background:var(--ab-bg);display:grid;place-items:center}
body.about-redesign .ab-viewer-stage>img{max-height:64vh;object-fit:contain;width:100%;touch-action:pan-y}
body.about-redesign .ab-viewer.ab-is-document .ab-viewer-stage>img{padding:16px}
body.about-redesign .ab-viewer.ab-is-zoomed .ab-viewer-stage{display:block;max-height:66vh}
body.about-redesign .ab-viewer.ab-is-zoomed .ab-viewer-stage>img{max-width:none;width:auto;max-height:none;padding:0;margin:auto}
body.about-redesign .ab-viewer-stage>.ab-icon-button{position:absolute;top:50%;transform:translateY(-50%);z-index:2;box-shadow:var(--ab-shadow)}
body.about-redesign .ab-viewer-stage>.ab-previous{left:16px}
body.about-redesign .ab-viewer-stage>.ab-next{right:16px}
body.about-redesign .ab-viewer-stage>.ab-icon-button[hidden]{display:none}
body.about-redesign .ab-viewer.ab-is-zoomed .ab-viewer-stage>.ab-icon-button{display:none}
body.about-redesign .ab-viewer-footer{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:14px 22px;flex:none;font-size:14px;flex-wrap:wrap}
body.about-redesign .ab-viewer-footer>p{color:var(--ab-muted);flex:1;min-width:200px}
body.about-redesign .ab-viewer-actions{display:flex;gap:10px;align-items:center}
body.about-redesign .ab-viewer-zoom{min-height:42px;font-size:14px;padding:8px 14px}
body.about-redesign .ab-viewer-zoom[hidden], body.about-redesign .ab-viewer-original[hidden], body.about-redesign .ab-viewer-count[hidden]{display:none}
body.about-redesign .ab-viewer-count{color:var(--ab-muted);white-space:nowrap}
@media(max-width:1050px){
body.about-redesign .ab-hero{gap:28px}
body.about-redesign .ab-hero-photo{min-height:420px}
body.about-redesign .ab-document-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.about-redesign .ab-document-card{padding:18px}
body.about-redesign .ab-document-preview{height:200px}
body.about-redesign .ab-eco-block{gap:30px}
body.about-redesign .ab-history-panel{gap:26px}
body.about-redesign .ab-history-copy{padding-right:0}
}
@media(max-width:899px){
body.about-redesign .ab-shell{width:min(calc(100% - 28px),var(--ab-max))}
}
@media(max-width:760px){
body.about-redesign .ab-shell{width:min(calc(100% - 24px),var(--ab-max))}
body.about-redesign .ab-section{margin-top:48px}
body.about-redesign .ab-section-head{align-items:flex-start;margin-bottom:24px}
body.about-redesign .ab-section-head p{font-size:15px}
body.about-redesign .ab-hero{grid-template-columns:1fr;gap:26px}
body.about-redesign .ab-hero-copy{padding:0}
body.about-redesign .ab-hero-copy h1{max-width:none}
body.about-redesign .ab-hero-text>p{font-size:18px;margin-top:20px;max-width:none}
body.about-redesign .ab-hero-photo{min-height:0;aspect-ratio:4/3;border-radius:22px}
body.about-redesign .ab-travel-care{grid-template-columns:1fr}
body.about-redesign .ab-care-photo{min-height:0;aspect-ratio:16/10}
body.about-redesign .ab-care-list{padding:0 22px}
body.about-redesign .ab-care-item{gap:14px;padding:24px 0}
body.about-redesign .ab-care-item p{line-height:1.65}
body.about-redesign .ab-document-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;margin-right:-12px;padding:2px 12px 16px 0;scrollbar-width:thin}
body.about-redesign .ab-document-card{flex:0 0 min(76vw,300px);scroll-snap-align:start;padding:20px}
body.about-redesign .ab-document-preview{height:220px}
body.about-redesign .ab-document-title{font-size:18px}
body.about-redesign .ab-register-note{align-items:flex-start;margin-top:10px;line-height:1.55}
body.about-redesign .ab-eco-block{grid-template-columns:1fr;gap:26px}
body.about-redesign .ab-eco-copy{grid-row:1}
body.about-redesign .ab-eco-copy h2{margin-bottom:20px}
body.about-redesign .ab-eco-copy>p{font-size:18px;max-width:none}
body.about-redesign .ab-eco-roles{margin:20px 0 24px}
body.about-redesign .ab-eco-photo{aspect-ratio:1}
body.about-redesign .ab-history-controls{gap:6px}
body.about-redesign .ab-history-counter{margin-right:4px}
body.about-redesign .ab-history-shell{padding:20px}
body.about-redesign .ab-year-tab{flex-basis:84px}
body.about-redesign .ab-history-panel{grid-template-columns:1fr;gap:24px;min-height:0}
body.about-redesign .ab-history-copy{padding:0}
body.about-redesign .ab-history-year{font-size:44px;margin-bottom:16px}
body.about-redesign .ab-history-copy h3{font-size:22px;margin-bottom:14px}
body.about-redesign .ab-history-copy>p{max-width:none;min-height:78px}
body.about-redesign .ab-history-copy>.ab-text-link{margin-top:18px}
body.about-redesign .ab-event-photo{height:270px}
body.about-redesign .ab-event-meta{margin-top:12px}
body.about-redesign .ab-viewer{width:calc(100% - 24px)}
body.about-redesign .ab-viewer-head{padding:16px}
body.about-redesign .ab-viewer-head h2{font-size:18px}
body.about-redesign .ab-viewer-stage>img{max-height:58vh}
body.about-redesign .ab-viewer-footer{padding:12px 16px 16px;gap:12px}
body.about-redesign .ab-viewer-footer>p{min-width:180px;flex-basis:70%;font-size:14px}
body.about-redesign .ab-viewer-actions{width:100%;justify-content:space-between}
body.about-redesign .ab-viewer-stage>.ab-previous{left:10px}
body.about-redesign .ab-viewer-stage>.ab-next{right:10px}
}
@media(max-width:480px){
body.about-redesign .ab-section-head{flex-wrap:wrap}
body.about-redesign .ab-history-controls{width:100%;justify-content:flex-end;margin-top:-8px}
body.about-redesign .ab-history-shell{padding:18px}
body.about-redesign .ab-history-copy>p{min-height:104px}
body.about-redesign .ab-event-photo{height:235px}
body.about-redesign .ab-event-caption{max-width:75%}
body.about-redesign .ab-care-item{gap:12px}
body.about-redesign .ab-care-icon{width:40px;height:40px}
body.about-redesign .ab-eco-roles{margin-bottom:22px}
}
@media(prefers-reduced-motion:reduce){
body.about-redesign .ab-page *, body.about-redesign .ab-page *:before, body.about-redesign .ab-page *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* --- доработки макета: скроллбар лет, превью документа --- */
body.about-redesign .ab-year-track::-webkit-scrollbar{display:none}
body.about-redesign .ab-document-preview{position:relative;overflow:hidden;flex:none}
body.about-redesign .ab-document-preview img{position:absolute;inset:14px;width:calc(100% - 28px);height:calc(100% - 28px);max-width:none;min-width:0;min-height:0}
@media(max-width:760px){
body.about-redesign #ab-history>.ab-section-head{flex-wrap:nowrap;gap:12px;align-items:center}
body.about-redesign .ab-history-controls{width:auto;margin:0;gap:5px}
body.about-redesign .ab-history-controls .ab-icon-button{width:38px;height:38px}
body.about-redesign .ab-history-counter{margin-right:2px}
body.about-redesign .ab-history-copy>p{min-height:0}
body.about-redesign .ab-history-panel{gap:24px}
}

/* --- доработки макета: карточки фактов и показатели экоакции --- */
body.about-redesign .ab-hero-photo:after{display:none}
body.about-redesign .ab-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.about-redesign .ab-fact-card{display:flex;flex-direction:column;padding:28px;min-width:0}
body.about-redesign .ab-fact-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
body.about-redesign .ab-fact-icon{display:grid;place-items:center;width:46px;height:46px;flex:none;border:1px solid #cfdfd3;border-radius:14px;background:var(--ab-soft);color:var(--ab-forest)}
body.about-redesign .ab-fact-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.about-redesign .ab-fact-number{font-size:36px;line-height:1;font-weight:500;letter-spacing:-.04em;color:#b7c9bd}
body.about-redesign .ab-fact-card h3{font-size:22px;line-height:1.3;letter-spacing:-.02em}
body.about-redesign .ab-fact-card>p{color:var(--ab-muted);line-height:1.65;margin:16px 0 24px}
body.about-redesign .ab-fact-card>.ab-text-link{margin-top:auto;align-self:flex-start;font-size:14px}
body.about-redesign .ab-fact-card:first-child{background:var(--ab-dark);color:#fff;border-color:var(--ab-dark)}
body.about-redesign .ab-fact-card:first-child .ab-fact-icon{background:#1d5a38;border-color:#417655;color:#e4f1e8}
body.about-redesign .ab-fact-card:first-child .ab-fact-number{color:#8cb39b}
body.about-redesign .ab-fact-card:first-child>p{color:#e0eae3}
body.about-redesign .ab-fact-card:first-child>.ab-text-link{color:#fff}
body.about-redesign .ab-fact-card:last-child{background:var(--ab-soft);box-shadow:none}
body.about-redesign .ab-fact-card:last-child .ab-fact-icon{background:#fff}
body.about-redesign .ab-eco-copy>p{font-size:18px}
body.about-redesign .ab-eco-roles{margin:20px 0 24px}
body.about-redesign .ab-eco-roles li{padding:15px 0}
body.about-redesign .ab-eco-result{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:var(--ab-soft);border:1px solid #d3e4d8;border-radius:14px;padding:20px;margin-bottom:22px}
body.about-redesign .ab-eco-result>div{display:flex;flex-direction:column;gap:6px}
body.about-redesign .ab-eco-result strong{font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.025em;color:var(--ab-dark)}
body.about-redesign .ab-eco-result span{font-size:14px;color:var(--ab-muted)}
@media(max-width:1050px){
body.about-redesign .ab-fact-card{padding:24px}
body.about-redesign .ab-fact-card h3{font-size:20px}
body.about-redesign .ab-eco-result{gap:14px;padding:18px}
body.about-redesign .ab-eco-result strong{font-size:22px}
}
@media(max-width:760px){
body.about-redesign .ab-facts-grid{grid-template-columns:1fr;gap:16px}
body.about-redesign .ab-fact-card{padding:24px}
body.about-redesign .ab-fact-top{margin-bottom:20px}
body.about-redesign .ab-fact-card h3{font-size:22px}
body.about-redesign .ab-fact-card>p{margin:14px 0 22px}
body.about-redesign .ab-eco-result strong{font-size:22px}
body.about-redesign .ab-eco-copy>p{font-size:18px}
body.about-redesign .ab-eco-roles{margin:20px 0 24px}
}
@media(max-width:380px){
body.about-redesign .ab-eco-result{gap:12px;padding:16px}
body.about-redesign .ab-eco-result strong{font-size:20px}
}

/* --- доработки макета: текст истории в несколько абзацев --- */
body.about-redesign .ab-history-text{font-size:16px;line-height:1.7;color:var(--ab-muted);max-width:530px}
body.about-redesign .ab-history-text p{white-space:pre-line}
body.about-redesign .ab-history-text p+p{margin-top:16px}
body.about-redesign .ab-history-panel{margin-top:10px}
body.about-redesign .ab-history-controls{margin-left:auto}
body.about-redesign .ab-document-title{margin-top:18px}
@media(max-width:760px){
body.about-redesign .ab-history-text{max-width:none}
body.about-redesign .ab-history-panel{margin-top:4px}
body.about-redesign .ab-history-copy{padding:0}
}

/* --- доработки макета: факты листаются по одной карточке --- */
body.about-redesign .ab-facts-controls{display:flex;align-items:center;gap:8px;flex:none}
body.about-redesign .ab-facts-grid{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b5cbbd transparent;overscroll-behavior-x:contain;scroll-behavior:smooth;cursor:grab;padding:2px 0 18px;align-items:stretch}
body.about-redesign .ab-facts-grid.ab-is-dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;user-select:none}
body.about-redesign .ab-facts-grid>.ab-fact-card{flex:0 0 calc((100% - 36px)/3);scroll-snap-align:start;min-width:0}
body.about-redesign .ab-fact-card:nth-child(3){background:var(--ab-soft);box-shadow:none}
body.about-redesign .ab-fact-card:nth-child(3) .ab-fact-icon{background:#fff}
body.about-redesign .ab-event-meta{justify-content:flex-end;min-height:0}
body.about-redesign .ab-event-meta[hidden]{display:none}
@media(max-width:760px){
body.about-redesign .ab-facts-controls{display:none}
body.about-redesign .ab-facts-grid{gap:16px;margin-right:-12px;padding:2px 12px 16px 0}
body.about-redesign .ab-facts-grid>.ab-fact-card{flex-basis:100%}
}

/* --- доработки макета: точки вместо полосы прокрутки --- */
body.about-redesign .ab-facts-grid{scrollbar-width:none;scroll-snap-type:none;padding-bottom:4px}
body.about-redesign .ab-facts-grid::-webkit-scrollbar{display:none}
body.about-redesign .ab-facts-dots{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:6px}
body.about-redesign .ab-facts-dot{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;padding:0;cursor:pointer}
body.about-redesign .ab-facts-dot:before{content:"";width:8px;height:8px;border-radius:50%;background:#b3c2b7;transition:background .15s ease}
body.about-redesign .ab-facts-dot[aria-pressed=true]:before{background:var(--ab-forest)}
body.about-redesign .ab-facts-dot:focus-visible{outline:2px solid var(--ab-forest);outline-offset:1px}
@media(max-width:760px){
body.about-redesign .ab-hero-copy{display:contents}
body.about-redesign .ab-hero-copy h1{order:0}
body.about-redesign .ab-hero-photo{order:1}
body.about-redesign .ab-hero-text{order:2}
body.about-redesign .ab-hero-text>p:first-child{margin-top:0}
body.about-redesign .ab-facts-grid{scroll-snap-type:x proximity;padding-bottom:4px}
body.about-redesign .ab-facts-dot{width:44px;height:44px}
body.about-redesign .ab-facts-dots{gap:0;margin-top:4px}
}

/* Лента фактов фокусируется только ради стрелок клавиатуры — рамку вокруг всего
   блока не рисуем, она обводила секцию целиком. */
body.about-redesign .ab-facts-grid:focus,
body.about-redesign .ab-facts-grid:focus-visible{outline:none}

/* Год без фото: колонку под снимок убираем, текст занимает всю ширину панели. */
body.about-redesign .ab-history-media.ab-is-empty{display:none}
body.about-redesign .ab-history-panel.ab-no-photo{grid-template-columns:1fr;min-height:0}
body.about-redesign .ab-history-panel.ab-no-photo .ab-history-text, body.about-redesign .ab-history-panel.ab-no-photo .ab-history-copy>p{max-width:none}
body.about-redesign .ab-history-panel.ab-no-photo .ab-history-copy{padding-right:6px}
body.about-redesign .ab-eco-photo-meta{justify-content:flex-end}

/* --- секции без фото: колонка с картинкой не оставляет пустого места --- */
body.about-redesign .ab-travel-care-plain{grid-template-columns:1fr}
body.about-redesign .ab-travel-care-plain .ab-care-list{padding:12px 30px}
body.about-redesign .ab-eco-block-plain{grid-template-columns:1fr}
body.about-redesign .ab-eco-block-plain .ab-eco-copy>p{max-width:none}

/* --- «Посмотрите, как мы путешествуем»: блок со страницы «Спасибо за заявку» ---
 * Разметка и поведение — order-done.css / order-done.js. Здесь задаём переменные
 * карточки (без класса .od-page их бы не было) и приводим заголовок и отступы
 * к остальным секциям страницы.
 */
body.about-redesign .ab-reels{--od-line:var(--ab-line);--od-radius:18px;--od-shadow-soft:var(--ab-shadow);--od-type-section:clamp(27px,3.2vw,40px);--od-muted:var(--ab-muted)}
body.about-redesign .ab-reels .od-section{padding:0}
body.about-redesign .ab-reels .od-shell{width:100%}
body.about-redesign .ab-reels .od-section__head{margin-bottom:28px}
body.about-redesign .ab-reels .od-section__head h2{font-weight:600;letter-spacing:-.03em;line-height:1.08}
@media(max-width:760px){
body.about-redesign .ab-reels .od-section__head{margin-bottom:24px}
}

/* --- интеграция с темой ---------------------------------------------------
 * Фон макета уводим на body: секции не растягиваются на всю ширину окна.
 * Верхний отступ .page_content (70/200px из main.min.css) оставляем —
 * шапка сайта фиксированная, без него первый экран уезжает под неё.
 */
body.about-redesign{background:#f3f6f2}
body.about-redesign .page_content.ab-page{margin-bottom:0;padding-bottom:70px}
body.about-redesign .ab-page .brcr{margin:24px 0 22px;color:var(--ab-muted);font-size:14px;line-height:1.5}
body.about-redesign .ab-page .brcr a{color:inherit}
body.about-redesign .ab-page .brcr a:hover{color:var(--ab-forest)}
body.about-redesign .ab-page .brcr .separator{color:#9ba79e}
@media(max-width:760px){
body.about-redesign .page_content.ab-page{padding-bottom:48px}
body.about-redesign .ab-page .brcr{margin:20px 0 22px}
}
