/* Легенда — контентные блоки из «D:\скупка техники\Блоки», переведённые в фирменный стиль.
   .lgb     — «Что мы выкупаем» (template-parts/sections/buyback.php)
   .lg-sale — «Как проходит продажа» (template-parts/sections/sale-steps.php)
   Отличия от исходной вёрстки: шрифты и цвета брендбука; кнопки мессенджеров — фирменные, цвет логотипа только в значке;
   текст не мельче 13px; карточки категорий — ссылки на страницы каталога. Правила палитры: tools/brand/brand.json. */

/* ========== Что мы выкупаем ========== */
.lgb{container:lgb/inline-size;padding:36px 36px 30px;border-radius:24px;background:#fff;color:var(--brand-black)}
.lgb :where(h2,h3,p,ul){margin:0;padding:0}
.lgb-header{display:grid;grid-template-columns:minmax(0,1fr) 440px;align-items:start;gap:32px}
.lgb-intro{min-width:0}
.lgb-eyebrow{margin-bottom:12px!important;color:#54665a;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.lgb-heading{margin-bottom:18px!important;font-size:44px}
.lgb-description{max-width:760px;color:var(--brand-asphalt);font-size:19px;line-height:1.5}
.lgb-catalog{margin-top:16px;font-size:16px}

.lgb-contact{padding:22px;border-radius:20px;background:#edf2e7}
.lgb-contact__intro{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:18px;margin-bottom:18px}
.lgb-contact__icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:linear-gradient(140deg,#63796d,#54675c);color:var(--brand-paper)}
.lgb-contact__icon .icon{width:30px;height:30px;stroke-width:1.6}
.lgb-contact__text{color:var(--brand-black);font-size:17px;line-height:1.45}
.lgb-contact__text strong{font-weight:600}
.lgb-contact__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lgb-messenger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:52px;padding:10px 12px;border:1px solid #d1d8d1;border-radius:12px;background:#fff;color:var(--brand-black);font-size:15px;font-weight:600;line-height:1.2;white-space:nowrap;transition:border-color .2s,background .2s}
.lgb-messenger img{width:24px;height:24px;flex:none}
.lgb-messenger:hover{border-color:#788f7e;background:#f9faf6}

.lgb-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:28px!important;list-style:none}
.lgb-grid__item{min-width:0;display:flex}
.lgb-category{display:flex;flex-direction:column;align-items:stretch;width:100%;min-height:236px;padding:8px 10px 14px;border:1px solid #e4e9e2;border-radius:20px;background:linear-gradient(145deg,#fff,#fafbf7);color:var(--brand-black);text-align:center;font:inherit;transition:border-color .2s,box-shadow .2s}
.lgb-category__media{display:grid;place-items:center;height:160px}
.lgb-category__image{width:100%;max-width:220px;height:160px;object-fit:contain;transition:transform .25s}
.lgb-category__title{display:flex;align-items:center;justify-content:center;flex:1 0 48px;font-family:var(--font-text);font-size:18px;font-weight:500;line-height:1.25;letter-spacing:0}
a.lgb-category:hover,button.lgb-category:hover{border-color:#a9b8ac;box-shadow:var(--shadow)}
a.lgb-category:hover .lgb-category__image{transform:translateY(-3px)}
.lgb-category--more{align-items:center;justify-content:center;padding:20px 14px;border-color:transparent;background:#edf2e7;cursor:pointer}
.lgb-more__icon{display:grid;place-items:center;width:72px;height:72px;margin-bottom:14px;border-radius:50%;background:#d7ded2;color:#314939}
.lgb-more__icon .icon{width:32px;height:32px;stroke-width:2}
.lgb-more__title{display:block;margin-bottom:8px;font-size:17px;font-weight:600;line-height:1.25}
.lgb-more__text{display:block;color:var(--brand-asphalt);font-size:15px;line-height:1.35}

.lgb-specialization{display:flex;align-items:center;gap:18px;margin-top:22px;padding:16px 22px;border-radius:18px;background:var(--brand-paper)}
.lgb-specialization__icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#d1d8d1;color:var(--brand-asphalt)}
.lgb-specialization__icon .icon{width:22px;height:22px}
.lgb-specialization__text{min-width:0;color:var(--brand-asphalt);font-size:16px;line-height:1.5}
.lgb-specialization__text strong{color:var(--brand-black);font-size:17px;font-weight:600;margin-right:6px}

@container lgb (max-width:1150px){
	.lgb-header{grid-template-columns:minmax(0,1fr) 380px;gap:24px}
	.lgb-heading{font-size:38px}
	.lgb-description{font-size:17px}
	.lgb-contact__actions{grid-template-columns:1fr}
	.lgb-category__title{font-size:16px}
	.lgb-category__media,.lgb-category__image{height:136px}
	.lgb-category{min-height:206px}
}
@container lgb (max-width:900px){
	.lgb-header{grid-template-columns:1fr}
	.lgb-contact{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:20px}
	.lgb-contact__intro{margin-bottom:0}
	.lgb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
	.lgb-grid__item:last-child{grid-column:1/-1}
	.lgb-category--more{display:grid;grid-template-columns:64px minmax(0,1fr);justify-items:start;align-content:center;gap:4px 18px;min-height:0;padding:18px 22px;text-align:left}
	.lgb-more__icon{grid-row:1/3;width:64px;height:64px;margin:0}
	.lgb-more__title{margin:0;align-self:end}
	.lgb-more__text br{display:none}
}
@container lgb (max-width:620px){
	.lgb-heading{font-size:32px}
	.lgb-description{font-size:16px}
	.lgb-contact{display:block;padding:18px}
	.lgb-contact__intro{grid-template-columns:52px minmax(0,1fr);gap:14px;margin-bottom:14px}
	.lgb-contact__icon{width:52px;height:52px}
	.lgb-contact__text{font-size:16px}
	.lgb-contact__actions{grid-template-columns:1fr 1fr}
	.lgb-messenger{font-size:14px;padding-inline:8px;gap:6px}
	.lgb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.lgb-category{min-height:190px;padding:6px 6px 12px;border-radius:16px}
	.lgb-category__media,.lgb-category__image{height:120px}
	.lgb-category__title{font-size:15px}
	.lgb-specialization{align-items:flex-start;padding:16px}
	.lgb-specialization__text strong{display:block;margin:0 0 4px}
	/* 9 категорий + «Не нашли» = 10 карточек: в две колонки ровно, без одиночной «Болгарки» */
	.lgb-grid__item:last-child{grid-column:auto}
	.lgb-category--more{display:flex;justify-items:initial;padding:14px 8px;text-align:center}
	.lgb-more__icon{width:52px;height:52px;margin:0 0 10px}
	.lgb-more__title{align-self:center;margin-bottom:6px;font-size:15px}
	.lgb-more__text{font-size:14px}
}
@container lgb (max-width:400px){
	.lgb-contact__actions{grid-template-columns:1fr}
	.lgb-heading{font-size:28px}
}
@media(max-width:767px){.lgb{padding:24px 16px 18px;border-radius:20px}}

/* ========== Как проходит продажа ========== */
.lg-sale{--sale-gap:34px;padding:36px 36px 28px;border-radius:24px;background:#fff;color:var(--brand-black)}
.lg-sale__header{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:32px}
.lg-sale__eyebrow{margin:0 0 12px;color:#54665a;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.lg-sale__title{margin:0;font-size:44px}
.lg-sale__intro{flex:0 1 360px;margin:0;color:var(--brand-asphalt);font-size:17px;line-height:1.5}
.lg-sale__steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sale-gap);margin:0;padding:0;list-style:none}
.lg-sale--3 .lg-sale__steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.lg-sale__step{position:relative;display:flex;flex-direction:column;min-width:0;padding:0 0 22px;border:1px solid #e4e9e2;border-radius:20px;background:linear-gradient(150deg,#fafbf7,#f9faf6 72%,#fafbf7)}
.lg-sale__step:not(:last-child):after{content:"";position:absolute;z-index:2;top:150px;right:calc(-1 * var(--sale-gap) / 2 - 5px);width:11px;height:11px;border-top:2px solid #72766f;border-right:2px solid #72766f;transform:rotate(45deg)}
.lg-sale__visual{position:relative;padding-top:4px;isolation:isolate}
.lg-sale__number{position:absolute;z-index:1;top:14px;left:14px;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#dce5d7;color:#314939;font-size:23px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.lg-sale__illustration{display:block;width:100%;max-width:360px;height:auto;aspect-ratio:360/260;margin-inline:auto;object-fit:contain;pointer-events:none;user-select:none}
.lg-sale__content{padding:4px 20px 0}
.lg-sale__step-title{margin:0 0 8px;font-size:21px;font-weight:600;line-height:1.25}
.lg-sale__step-description{margin:0;color:var(--brand-asphalt);font-size:16px;line-height:1.5}
.lg-sale__benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:26px 0 0;padding:18px 4px;border-radius:20px;background:#edf2e7;list-style:none}
.lg-sale__benefit{position:relative;display:flex;align-items:center;gap:14px;min-width:0;padding:0 18px}
.lg-sale__benefit+.lg-sale__benefit:before{content:"";position:absolute;top:10px;bottom:10px;left:0;border-left:1px solid #d1dccb}
.lg-sale__benefit-icon{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:50%;background:#d7ded2;color:#314939}
.lg-sale__benefit-icon .icon{width:26px;height:26px}
.lg-sale__benefit-copy{min-width:0}
.lg-sale__benefit-title,.lg-sale__benefit-description{display:block}
.lg-sale__benefit-title{color:var(--brand-black);font-size:17px;font-weight:600;line-height:1.25}
.lg-sale__benefit-description{margin-top:3px;color:var(--brand-asphalt);font-size:14px;line-height:1.35}
.lg-sale .photo-tips{margin-top:24px;border-color:#cad3c8;background:var(--brand-paper)}

@media(max-width:1199px){
	.lg-sale{--sale-gap:22px;padding:30px 26px 24px}
	.lg-sale__title{font-size:38px}
	.lg-sale__step:not(:last-child):after{top:118px}
	.lg-sale__content{padding-inline:16px}
	.lg-sale__step-title{font-size:19px}
	.lg-sale__step-description{font-size:15px}
	.lg-sale__benefit{gap:10px;padding-inline:12px}
	.lg-sale__benefit-icon{width:44px;height:44px}
	.lg-sale__benefit-title{font-size:15px}
	.lg-sale__benefit-description{font-size:13px}
}
@media(max-width:1023px){
	.lg-sale__header{display:block;margin-bottom:24px}
	.lg-sale__intro{margin-top:12px}
	.lg-sale__steps,.lg-sale--3 .lg-sale__steps{grid-template-columns:repeat(2,minmax(0,1fr))}
	.lg-sale__step:after{display:none!important}
	.lg-sale__step-title{font-size:21px}
	.lg-sale__step-description{font-size:16px}
	.lg-sale__benefits{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}
	.lg-sale__benefit:nth-child(3):before{display:none}
	.lg-sale__benefit-title{font-size:16px}
	.lg-sale__benefit-description{font-size:14px}
}
@media(max-width:599px){
	.lg-sale{--sale-gap:14px;padding:24px 16px 18px;border-radius:20px}
	.lg-sale__title{font-size:30px}
	.lg-sale__intro{font-size:16px}
	.lg-sale__steps,.lg-sale--3 .lg-sale__steps{grid-template-columns:1fr}
	.lg-sale__illustration{max-width:320px}
	.lg-sale__benefits{grid-template-columns:1fr;row-gap:0;padding:2px 16px}
	.lg-sale__benefit{padding:14px 0}
	.lg-sale__benefit+.lg-sale__benefit{border-top:1px solid #d1dccb}
	.lg-sale__benefit:before{display:none!important}
}
@media(prefers-reduced-motion:reduce){.lgb *,.lg-sale *{transition:none!important}}
@media print{.lgb-category,.lg-sale__step,.lg-sale__benefits{break-inside:avoid}}

/* ========== Общее для новых блоков: белая карточка раздела, надзаголовок, плашка-подсказка ========== */
.lgr,.lgi,.lgp,.lgw{padding:36px 36px 28px;border-radius:24px;background:#fff;color:var(--brand-black)}
.lgr :where(h2,h3,p,ul),.lgi :where(h2,h3,p,ul),.lgp :where(h2,h3,p,ul),.lgw :where(h2,h3,p,ul){margin:0;padding:0;list-style:none}
.lgr__eyebrow,.lgi__eyebrow,.lgp__eyebrow,.lgw__eyebrow{margin-bottom:12px!important;color:#54665a;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.lgr__title,.lgi__title,.lgp__title,.lgw__title{font-size:44px}
.lgw__title{font-size:40px}
.lgi__note,.lgp__note,.lgw__note{display:flex;align-items:center;gap:18px;margin-top:22px!important;padding:16px 22px;border-radius:18px;background:#edf2e7;color:var(--brand-black);font-size:17px;line-height:1.45}
.lgi__note-icon,.lgp__note-icon,.lgw__note-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:#d7ded2;color:#314939}
.lgi__note-icon .icon,.lgp__note-icon .icon,.lgw__note-icon .icon{width:24px;height:24px}
/* Иллюстрации на светлом фоне: фон картинки растворяется в карточке */
.lgi__visual img,.lgp__visual img{mix-blend-mode:multiply}

/* ========== Какую технику не выкупаем ========== */
.lgr{container:lgr/inline-size}
.lgr__layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,2.4fr);gap:28px;align-items:stretch}
.lgr__eyebrow{display:inline-block;padding:7px 14px;border-radius:999px;background:#f1e3df;color:#903f34;letter-spacing:.12em}
.lgr__title{margin-top:4px!important}
.lgr__text{margin-top:16px!important;color:var(--brand-asphalt);font-size:18px;line-height:1.5}
.lgr__cta{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:12px 18px;border:1px solid #d1d8d1;border-radius:999px;background:#fff;color:var(--brand-black);font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.lgr__cta img{width:26px;height:26px;flex:none}
.lgr__cta .icon{width:20px;height:20px;flex:none;transition:transform .2s}
.lgr__cta:hover{border-color:#788f7e;background:#f9faf6}
.lgr__cta:hover .icon{transform:translateX(3px)}
.lgr__cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lgr__card{display:flex;flex-direction:column;min-width:0;padding:18px 16px;border:1px solid #ece6d8;border-radius:20px;background:linear-gradient(180deg,#f1e3df 0%,#fff 38%)}
.lgr__reject{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#b06559;color:#fff}
.lgr__reject .icon{width:22px;height:22px;stroke-width:2.6}
.lgr__card-title{margin-top:12px!important;font-size:19px;font-weight:600;line-height:1.25}
.lgr__media{display:grid;place-items:center;flex:1;min-height:0;margin:14px 0}
.lgr__media img{width:auto;max-width:100%;height:210px;object-fit:contain}
.lgr__card-text{color:var(--brand-asphalt);font-size:15px;line-height:1.45}
.lgr__notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;margin-top:22px;padding:18px 22px;border-radius:20px;background:#edf2e7}
.lgr__accept{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:linear-gradient(140deg,#63796d,#54675c);color:var(--brand-paper)}
.lgr__accept .icon{width:28px;height:28px;stroke-width:2.6}
.lgr__notice-title{color:#314939;font-size:19px;font-weight:600;line-height:1.3}
.lgr__notice-text{margin-top:4px!important;color:var(--brand-asphalt);font-size:16px}
.lgr__note{max-width:230px;padding:12px 18px;border-radius:16px;background:#fff;color:#314939;font-size:15px;line-height:1.35}
@container lgr (max-width:1150px){
	.lgr__layout{grid-template-columns:1fr}
	.lgr__text{max-width:760px}
	.lgr__media img{height:180px}
}
@container lgr (max-width:760px){
	.lgr__cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.lgr__title{font-size:34px}
	.lgr__notice{grid-template-columns:auto minmax(0,1fr)}
	.lgr__note{grid-column:1/-1;max-width:none}
	.lgr__media img{height:160px}
}
@container lgr (max-width:420px){
	.lgr__card{padding:14px 12px}
	.lgr__card-title{font-size:16px}
	.lgr__card-text{font-size:14px}
	.lgr__media img{height:130px}
	.lgr__title{font-size:30px}
	.lgr__notice{padding:16px}
	.lgr__accept{width:44px;height:44px}
	.lgr__notice-title{font-size:17px}
}

/* ========== Что проверяет специалист ========== */
.lgi{container:lgi/inline-size}
.lgi__header{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:26px}
.lgi__intro{flex:0 1 420px;color:var(--brand-asphalt);font-size:17px;line-height:1.5}
.lgi__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.lgi__card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e4e9e2;border-radius:20px;background:#fafbf7}
.lgi__visual{display:block;padding:10px 10px 0}
.lgi__visual img{display:block;width:100%;height:auto;aspect-ratio:488/326;object-fit:cover;border-radius:14px}
.lgi__body{padding:14px 22px 22px}
.lgi__card-title{margin-bottom:12px!important;font-size:22px;font-weight:600;line-height:1.25}
.lgi__card-title a:hover{color:#54625a;text-decoration:underline;text-underline-offset:4px}
.lgi__list{display:grid;gap:10px}
.lgi__list li{display:flex;align-items:center;gap:14px;color:var(--brand-asphalt);font-size:17px;line-height:1.3}
.lgi__badge{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#dce5d7;color:#314939}
.lgi__badge .icon{width:21px;height:21px}
@container lgi (max-width:900px){
	.lgi__header{display:block}
	.lgi__intro{margin-top:12px!important}
	.lgi__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.lgi__card:last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
	.lgi__card:last-child .lgi__visual{padding:10px}
}
@container lgi (max-width:600px){
	.lgi__title{font-size:32px}
	.lgi__grid{grid-template-columns:1fr}
	.lgi__card:last-child{display:flex}
	.lgi__card:last-child .lgi__visual{padding:10px 10px 0}
	.lgi__card-title{font-size:20px}
	.lgi__list li{font-size:16px}
	.lgi__note{padding:14px 16px;font-size:16px}
}

/* ========== Как подготовить технику ========== */
.lgp{container:lgp/inline-size}
.lgp__header{margin-bottom:26px}
.lgp__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.lgp__card{display:flex;flex-direction:column;min-width:0;padding:10px 10px 22px;border:1px solid #e4e9e2;border-radius:20px;background:#fafbf7}
.lgp__visual{display:block}
.lgp__visual img{display:block;width:100%;max-width:352px;height:auto;aspect-ratio:352/326;margin-inline:auto;object-fit:contain;border-radius:14px}
.lgp__card-title{margin:12px 12px 8px!important;font-size:21px;font-weight:600;line-height:1.25}
.lgp__card-text{margin:0 12px!important;color:var(--brand-asphalt);font-size:16px;line-height:1.5}
@container lgp (max-width:1100px){.lgp__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lgp__visual img{max-width:300px}}
@container lgp (max-width:560px){
	.lgp__title{font-size:32px}
	.lgp__grid{grid-template-columns:1fr}
	.lgp__card{display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:14px;padding:10px 14px 16px 10px}
	.lgp__visual{grid-row:1/3}
	.lgp__card-title{margin:8px 0 6px!important;font-size:18px}
	.lgp__card-text{margin:0!important;font-size:15px}
	.lgp__note{padding:14px 16px;font-size:16px}
}

/* ========== Партии техники ========== */
.lgw{container:lgw/inline-size;overflow:hidden}
.lgw__layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;align-items:center}
.lgw__lead{margin-top:16px;color:var(--brand-asphalt);font-size:18px;line-height:1.5}
.lgw__lead p{color:inherit}
.lgw__lead p+p{margin-top:10px}
.lgw__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px!important}
.lgw__benefits li{min-width:0;padding:18px 16px;border:1px solid #e4e9e2;border-radius:18px;background:#fafbf7}
.lgw__icon{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#dce5d7;color:#314939}
.lgw__icon .icon{width:30px;height:30px;stroke-width:1.5}
.lgw__benefits h3{margin-top:14px!important;font-size:19px;font-weight:600;line-height:1.25}
.lgw__benefits p{margin-top:6px!important;color:var(--brand-asphalt);font-size:15px;line-height:1.45}
.lgw__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.lgw__visual{position:relative;min-height:420px;display:grid;align-items:end}
.lgw__circle{position:absolute;right:4%;top:6%;width:78%;aspect-ratio:1;border-radius:50%;background:#edf2e7}
.lgw__image{position:relative;display:block;width:100%;height:auto}
.lgw__checklist{position:absolute;top:0;right:0;padding:18px 20px;border:1px solid #e4e9e2;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(40,40,40,.08)}
.lgw__checklist-title{margin-bottom:10px!important;font-size:18px;font-weight:600}
.lgw__checklist ul{display:grid;gap:8px}
.lgw__checklist li{display:flex;align-items:center;gap:12px;color:var(--brand-asphalt);font-size:16px}
.lgw__small-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#dce5d7;color:#314939}
.lgw__small-icon .icon{width:20px;height:20px}
@container lgw (max-width:1000px){
	.lgw__layout{grid-template-columns:1fr}
	.lgw__visual{min-height:0;max-width:640px;width:100%;margin-inline:auto}
}
@container lgw (max-width:620px){
	.lgw__title{font-size:32px}
	.lgw__lead{font-size:16px}
	.lgw__benefits{grid-template-columns:1fr}
	.lgw__benefits li{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:14px;padding:14px}
	.lgw__icon{grid-row:1/3;width:52px;height:52px}
	.lgw__benefits h3{margin:0!important;align-self:end;font-size:17px}
	.lgw__checklist{position:static;margin-top:12px}
	.lgw__actions .btn{width:100%}
	.lgw__note{padding:14px 16px;font-size:16px}
}

@media(max-width:767px){.lgr,.lgi,.lgp,.lgw{padding:24px 16px 18px;border-radius:20px}}
@media(prefers-reduced-motion:reduce){.lgr *,.lgi *,.lgp *,.lgw *{transition:none!important}}
@media print{.lgr__card,.lgi__card,.lgp__card,.lgw__benefits li{break-inside:avoid}}

/* ========== Когда продают (бирки) ==========
   template-parts/sections/situations.php. Бирки комиссионного магазина висят на нитках:
   срезанные верхние углы, отверстие, перфорация под меткой повода; нитки уходят за верхний край блока. Наклон — только декоративный,
   выпрямляется при наведении; без анимации при prefers-reduced-motion и в версии для слабовидящих. */
.lgs{container:lgs/inline-size;position:relative;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:44px;padding:44px 44px 52px;border-radius:24px;background:var(--brand-night);color:var(--brand-paper);overflow:hidden;isolation:isolate}
.lgs:before{content:"";position:absolute;inset:0;z-index:-1;background:url("../img/brand/pattern-tile.svg") repeat left top/132px 120px;opacity:.05;-webkit-mask-image:linear-gradient(90deg,#000 0,transparent 55%);mask-image:linear-gradient(90deg,#000 0,transparent 55%);pointer-events:none}
.lgs :where(h2,h3,p,ul){margin:0;padding:0}
.lgs__head{display:flex;flex-direction:column;gap:16px;align-self:center}
.lgs__eyebrow{color:var(--brand-accent);font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.lgs__title{color:var(--brand-paper);font-size:38px;line-height:1.12}
.lgs__intro{color:#d1d8d1;font-size:17px;line-height:1.55}
.lgs__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.lgs__messenger{gap:9px}
.lgs__messenger img{width:22px;height:22px;flex:none}
.lgs__quiz .icon{width:18px;height:18px}

/* бирки висят на нитках, уходящих за верхний край блока */
.lgs__rail{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-top:26px;list-style:none}
.lgs__item{--r:-1.6deg;position:relative;min-width:0;transform:rotate(var(--r));transform-origin:50% -46px;transition:transform .7s cubic-bezier(.3,1.6,.5,1)}
.lgs__item:nth-child(2){--r:1.2deg}
.lgs__item:nth-child(3){--r:-.8deg}
/* нитка: от отверстия бирки вверх, за край блока (обрезается overflow:hidden у .lgs) */
.lgs__item:before{content:"";position:absolute;left:50%;top:-400px;width:1.5px;height:418px;margin-left:-.75px;background:#aeb7b1}
.lgs__item:hover,.lgs__item:focus-within{transform:rotate(0)}
.lgs__tag{position:relative;height:100%;padding:44px 22px 24px;background:var(--brand-paper);color:var(--brand-black);clip-path:polygon(22px 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%,0 22px);border-radius:0 0 14px 14px}
.lgs__hole{position:absolute;left:50%;top:14px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--brand-night);box-shadow:0 0 0 3px #d1d8d1}
.lgs__label{padding-bottom:12px;margin-bottom:14px!important;border-bottom:1.5px dashed #aeb7b1;color:var(--brand-green);font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.lgs__tag-title{margin-bottom:10px!important;font-size:20px;font-weight:600;line-height:1.28}
.lgs__tag-text{color:var(--brand-asphalt);font-size:16px;line-height:1.55}
.lgs__tag-text p{margin:0}
.lgs__tag-text a{color:#54675c;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.lgs__tag-text a:hover{color:var(--brand-black)}

@container lgs (max-width:980px){
	.lgs{grid-template-columns:1fr;gap:28px}
}
@media(max-width:1100px){
	.lgs{grid-template-columns:1fr;gap:30px;padding:36px 32px 40px}
}
@media(max-width:767px){
	.lgs{padding:28px 18px 30px;border-radius:20px}
	.lgs__title{font-size:28px}
	.lgs__intro{font-size:16px}
	.lgs__actions .btn{flex:1 1 auto;justify-content:center}
	/* на телефоне бирки идут столбцом, нитка — короткий хвостик сверху, без наклона */
	.lgs__rail{grid-template-columns:1fr;gap:34px;padding-top:30px}
	.lgs__item{transform:none}
	.lgs__item:before{top:-24px;height:40px}
	.lgs__tag{padding:42px 18px 20px}
}
@media(prefers-reduced-motion:reduce){.lgs__item{transition:none;transform:none}}
html[data-a11y] .lgs__item{transform:none!important;transition:none!important}
html[data-a11y] .lgs__item:before,html[data-a11y] .lgs__hole{display:none!important}
html[data-a11y] .lgs__tag{clip-path:none!important}

/* ========== Недавно приняли (живые фото) ==========
   template-parts/sections/received.php. Реальные фото скупленной техники (tools/avito/sync.py), без цен.
   На фото — бирка «Принято в …» с отверстием, как у бирок блока «Когда продают». */
.lgn{container:lgn/inline-size;padding:36px 36px 30px;border-radius:24px;background:#fff;color:var(--brand-black)}
.lgn :where(h2,h3,p,ul,figure){margin:0;padding:0}
.lgn__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:28px;margin-bottom:26px}
.lgn__eyebrow{margin-bottom:10px!important;color:#54665a;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.lgn__title{font-size:36px;line-height:1.12}
.lgn__intro{color:var(--brand-asphalt);font-size:17px;line-height:1.55}
.lgn__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none}
.lgn__grid--1{grid-template-columns:minmax(0,340px)}
.lgn__grid--2{grid-template-columns:repeat(2,minmax(0,340px))}
.lgn__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.lgn__card{display:flex;flex-direction:column;min-width:0;padding:8px 8px 18px;border:1px solid #e4e9e2;border-radius:18px;background:#fafbf7}
.lgn__photo{position:relative;overflow:hidden;border-radius:12px;background:#e4e9e2}
.lgn__photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.lgn__stamp{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 8px;background:var(--brand-paper);color:var(--brand-black);font-size:13px;font-weight:600;line-height:1.2;clip-path:polygon(9px 0,100% 0,100% 100%,9px 100%,0 50%);padding-left:16px}
.lgn__stamp-hole{width:7px;height:7px;border-radius:50%;background:#aeb7b1;flex:none}
.lgn__name{margin:14px 10px 6px!important;font-size:17px;font-weight:600;line-height:1.3}
.lgn__meta{margin:0 10px!important;color:var(--brand-asphalt);font-size:14px;line-height:1.45}
.lgn__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin-top:22px;padding-top:18px;border-top:1px solid #e4e9e2}
.lgn__foot p{color:var(--brand-asphalt);font-size:15px}
.lgn__actions{display:flex;flex-wrap:wrap;gap:10px}
.lgn__messenger{gap:9px}
.lgn__messenger img{width:22px;height:22px;flex:none}
@media(max-width:1100px){.lgn__grid,.lgn__grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.lgn__head{grid-template-columns:1fr;gap:12px}}
@media(max-width:767px){
	.lgn{padding:24px 16px 20px;border-radius:20px}
	.lgn__title{font-size:28px}
	.lgn__intro{font-size:16px}
	.lgn__grid,.lgn__grid--1,.lgn__grid--2,.lgn__grid--3{grid-template-columns:1fr}
	.lgn__actions .btn{flex:1 1 auto;justify-content:center}
}
html[data-a11y] .lgn__stamp{clip-path:none!important}
/* Карусель кадров и вилка «на вторичном рынке» в карточке «Недавно приняли» */
.lgn__slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;border-radius:12px}
.lgn__slides::-webkit-scrollbar{display:none}
.lgn__slides img{flex:0 0 100%;scroll-snap-align:start}
.lgn__slides:focus-visible{outline:3px solid var(--brand-focus);outline-offset:2px}
.lgn__nav{position:absolute;left:8px;right:8px;bottom:8px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.lgn__arrow{pointer-events:auto;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:rgba(245,242,237,.92);color:var(--brand-black);cursor:pointer;box-shadow:0 2px 8px rgba(27,32,29,.18)}
.lgn__arrow .icon{width:16px;height:16px}
.lgn__arrow--prev .icon{transform:rotate(180deg)}
.lgn__arrow:hover{background:var(--brand-paper)}
.lgn__arrow:focus-visible{outline:3px solid var(--brand-focus)}
.lgn__count{padding:4px 10px;border-radius:999px;background:rgba(27,32,29,.72);color:var(--brand-paper);font-size:13px;font-weight:600}
.lgn__card{position:relative}
.lgn__meta{margin-bottom:0!important}
@media(prefers-reduced-motion:reduce){.lgn__slides{scroll-behavior:auto}}

/* ===== Модели для оценки (sections/prices.php): без сумм, «Узнать цену» + оценочный лист ===== */
.lgm{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.lgm__list{background:#fff;border:1px solid #e7e2da;border-radius:16px;overflow:hidden}
.lgm__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) auto;align-items:center;gap:18px;padding:15px 18px 15px 22px;border-bottom:1px solid #eee9e2;transition:background .18s}
.lgm__row:last-child{border-bottom:0}
.lgm__row:hover{background:#faf8f4}
.lgm__name{font-size:16px;font-weight:600;line-height:1.3;color:var(--brand-black);letter-spacing:-.01em}
.lgm__factors{font-size:13px;line-height:1.45;color:#6d736f}
.lgm__factors-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lgm__ask{display:inline-flex;align-items:center;gap:8px;padding:9px 14px 9px 16px;border:1px solid #b7c7bd;border-radius:999px;background:transparent;color:#3f4c44;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;transition:background .18s,color .18s,border-color .18s}
.lgm__ask .icon{width:14px;height:14px;transition:transform .18s}
.lgm__row:hover .lgm__ask,.lgm__ask:hover,.lgm__ask:focus-visible{background:var(--brand-button);border-color:var(--brand-button);color:#fff}
.lgm__row:hover .lgm__ask .icon{transform:translateX(2px)}
.lgm__foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;font-size:13px;color:#6d736f}
.lgm__inline{padding:0;font:inherit;color:var(--brand-green);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.lgm__foot .text-button{font-size:13px;white-space:nowrap}
/* Оценочный лист — бирка с дыркой: как ярлык, который вешают на принятую вещь */
.lgm__sheet{position:relative;padding:34px 24px 22px;border-radius:16px;background:var(--brand-night);color:var(--brand-paper)}
.lgm__hole{position:absolute;top:14px;left:50%;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:var(--brand-paper);box-shadow:inset 0 1px 2px #0006}
.lgm__sheet-title{font-family:var(--font-display);font-size:20px;line-height:1.15;padding-bottom:16px;border-bottom:1px dashed var(--brand-night-line)}
.lgm__steps{list-style:none;counter-reset:lgm;display:grid;gap:14px;margin:18px 0 0;padding:0}
.lgm__step{counter-increment:lgm;display:grid;grid-template-columns:26px 1fr;column-gap:12px;align-items:start}
.lgm__step:before{content:counter(lgm);grid-row:span 2;width:26px;height:26px;border:1px solid #aecab966;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--brand-accent);transition:background .2s,color .2s}
.lgm__step-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-accent)}
.lgm__step-value{font-size:14px;line-height:1.4;color:#f5f2edc2;margin-top:2px}
.lgm__step.is-filled:before{content:'✓';background:var(--brand-accent);border-color:var(--brand-accent);color:var(--brand-night)}
.lgm__step.is-filled .lgm__step-value{color:#fff;font-weight:600}
.lgm__start{width:100%;margin-top:22px;justify-content:center;background:var(--brand-accent);color:var(--brand-night);border:0;font-weight:600}
.lgm__start:hover{background:#c3dacb}
.lgm__start .icon{width:16px;height:16px}
.lgm__note{margin-top:12px;font-size:12px;line-height:1.45;color:#f5f2ed8c;text-align:center}
@media(max-width:1100px){.lgm{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.lgm__row{grid-template-columns:minmax(0,1fr) auto;row-gap:4px}.lgm__factors{grid-column:1;grid-row:2}.lgm__ask{grid-column:2;grid-row:1/span 2}}
@media(max-width:860px){.lgm{grid-template-columns:1fr}.lgm__steps{grid-template-columns:1fr 1fr;column-gap:18px}}
@media(max-width:560px){.lgm__row{padding:14px 14px 14px 16px;gap:4px 12px}.lgm__name{font-size:15px}.lgm__factors{font-size:12px}.lgm__ask{padding:9px 12px;font-size:12px}.lgm__ask .icon{display:none}.lgm__steps{grid-template-columns:1fr}.lgm__foot{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.lgm__row,.lgm__ask,.lgm__ask .icon,.lgm__step:before{transition:none}}
.office-teaser__photos{display:grid;grid-template-columns:1fr 1fr;gap:6px}.office-teaser__photos img{width:100%;height:87px;object-fit:cover;border-radius:6px}
.lgm-head{flex-wrap:wrap;align-items:flex-end}.lgm-head>div:first-child{flex:1 1 520px;max-width:760px}.lgm-head>.tabs{flex:0 1 auto}
.lgm__sheet p.lgm__sheet-title{color:var(--brand-paper)}.lgm__sheet p.lgm__note{color:#f5f2ed8c}
/* «Недавно приняли» без цен: счётчик-бирка в шапке, «Есть похожая? Узнать цену» на карточке, подвал с обещаниями */
.lgn__head>div .lgn__intro{margin-top:14px!important;max-width:560px}
.lgn__tally{justify-self:end;align-self:end;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;max-width:300px;padding:16px 20px 16px 18px;border-radius:14px;background:var(--brand-paper);color:var(--brand-black)}
.lgn__tally .lgn__stamp-hole{grid-row:span 2;width:10px;height:10px;background:#fff;box-shadow:inset 0 1px 2px #0003}
.lgn__tally strong{font-family:var(--font-display);font-size:30px;line-height:1.05;font-weight:400}
.lgn__tally>span:last-child{font-size:14px;line-height:1.4;color:var(--brand-asphalt)}
.lgn__ask{display:inline-flex;align-items:center;gap:6px;margin:auto 10px 0;padding:12px 0 0;border:0;border-top:1px dashed #d1d8d1;background:none;color:var(--brand-green);font-size:14px;font-weight:600;text-align:left;width:calc(100% - 20px)}
.lgn__ask>span{color:var(--brand-asphalt);font-weight:400}
.lgn__ask .icon{width:15px;height:15px;margin-left:auto;transition:transform .18s}
.lgn__ask:hover{color:var(--brand-black)}
.lgn__ask:hover .icon{transform:translateX(3px)}
.lgn__meta{margin-bottom:14px!important}
.lgn__foot .lgn__pitch-title{font-family:var(--font-display);font-size:22px;line-height:1.2;color:var(--brand-black)!important}
.lgn__promises{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:10px!important;list-style:none}
.lgn__foot .lgn__promises li{position:relative;padding-left:22px;font-size:15px;color:var(--brand-asphalt)}
.lgn__promises li:before{content:'✓';position:absolute;left:0;top:1px;width:16px;height:16px;border-radius:50%;background:var(--brand-accent);color:var(--brand-night);display:grid;place-items:center;font-size:10px;font-weight:700}
.lgn__start{gap:8px}.lgn__start .icon{width:16px;height:16px}
@media(max-width:1100px){.lgn__tally{justify-self:start;max-width:none}}
@media(max-width:767px){.lgn__tally strong{font-size:26px}.lgn__pitch-title{font-size:20px}.lgn__promises{flex-direction:column}.lgn__actions{width:100%}.lgn__start{flex:1 1 100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.lgn__ask .icon{transition:none}}
/* Итог квиза без суммы — заполненный оценочный лист (app.js, renderResult) */
.quiz-result__sheet{list-style:none;margin:14px 0 4px;padding:12px 0 0;border-top:1px dashed #ffffff2e;display:grid;gap:7px}
.quiz-result__sheet li{display:grid;grid-template-columns:96px 1fr;gap:10px;font-size:13px;line-height:1.4;color:#f5f2ede6}
.quiz-result__sheet span{color:var(--brand-accent);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding-top:2px}
/* «Почему мы не публикуем таблицу с суммами» (/ceny/, sections/no-pricelist.php) */
.lgp{padding:36px;border-radius:24px;background:#fff;color:var(--brand-black)}
.lgp :where(h2,h3,p,ul){margin:0;padding:0}
.lgp__eyebrow{color:#54665a;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.lgp__title{margin-top:10px!important;font-size:34px;line-height:1.12;max-width:760px}
.lgp__grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px!important}
.lgp__grid>.lgp__card{display:block;position:relative;padding:26px 22px 22px;border-radius:16px;background:var(--brand-paper)}
.lgp__hole{position:absolute;top:14px;right:16px;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:inset 0 1px 2px #0003}
.lgp__card h3{font-size:19px;line-height:1.25;font-weight:650;padding-right:18px}
.lgp__card p{margin-top:10px!important;font-size:15px;line-height:1.55;color:var(--brand-asphalt)}
.lgp__card h3 s{text-decoration-color:#b06559;text-decoration-thickness:2px;color:#8a8f8b}
.lgp__cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:24px;padding-top:20px;border-top:1px solid #ece8e1}
.lgp__cta .btn-primary{gap:8px}.lgp__cta .btn-primary .icon{width:16px;height:16px}
.lgp__note{margin-left:auto!important;background:none!important;font-size:14px;color:var(--brand-asphalt)}
@media(max-width:1100px){.lgp__grid{grid-template-columns:1fr}.lgp__note{margin-left:0!important;flex-basis:100%}}
@media(max-width:767px){.lgp{padding:24px 16px 20px;border-radius:20px}.lgp__title{font-size:26px}.lgp__cta .btn{flex:1 1 100%;justify-content:center}}

/* Фото зала точки (template-parts/sections/branch-gallery.php) и «Магазины изнутри» на странице города */
.branch-gallery .section-heading p{max-width:640px}
.branch-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}
.branch-gallery__item:first-child{grid-column:span 2;grid-row:span 2}
.branch-gallery__item figure{margin:0;display:flex;flex-direction:column;gap:8px;height:100%}
.branch-gallery__item a[data-gallery-item]{display:block;flex:1;min-height:0;border-radius:12px;overflow:hidden;background:var(--line)}
.branch-gallery__item img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .3s}
.branch-gallery__item a[data-gallery-item]:hover img{transform:scale(1.03)}
.branch-gallery__item figcaption{font-size:14px;line-height:1.4;color:var(--muted)}
.branch-gallery__item figcaption a{display:inline-block;margin-top:2px;color:var(--blue-dark);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.branch-gallery__cta{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin-top:24px;padding:18px 22px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.branch-gallery__cta p{margin:0;font-size:15px}
html:has(.gallery-dialog[open]){overflow:hidden}
.gallery-dialog{width:100%;height:100%;max-width:100%;max-height:100%;margin:0;padding:0;border:0;background:#0d100ef2;color:#fff}
.gallery-dialog::backdrop{background:#0d100ecc}
.gallery-dialog figure{margin:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:56px 72px 24px}
.gallery-dialog img{max-width:100%;max-height:calc(100% - 48px);object-fit:contain;border-radius:8px}
.gallery-dialog figcaption{font-size:15px;color:#e8ece9;text-align:center}
.gallery-dialog__btn{position:absolute;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffffff26;color:#fff}
.gallery-dialog__btn:hover{background:#ffffff40}
.gallery-dialog__btn .icon{width:22px;height:22px}
.gallery-dialog__close{top:12px;right:12px}
.gallery-dialog__prev,.gallery-dialog__next{top:50%;margin-top:-24px}
.gallery-dialog__prev{left:12px}
.gallery-dialog__prev .icon{transform:rotate(180deg)}
.gallery-dialog__next{right:12px}
.city-inside{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.city-inside a{display:flex;flex-direction:column;gap:10px;color:var(--ink)}
.city-inside img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;background:var(--line);transition:opacity .2s}
.city-inside a:hover img{opacity:.88}
.city-inside b{font-size:17px;line-height:1.3}
.city-inside span{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--blue-dark);font-weight:600}
.city-inside span .icon{width:16px;height:16px}
@media (max-width:1023px){.branch-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-gallery__item:first-child{grid-row:auto}}
@media (max-width:767px){
.branch-gallery__grid,.city-inside{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-inline:-20px;padding:0 20px 6px;scrollbar-width:none}
.branch-gallery__grid::-webkit-scrollbar,.city-inside::-webkit-scrollbar{display:none}
.branch-gallery__item{flex:0 0 86%;scroll-snap-align:center}
.city-inside>a{flex:0 0 80%;scroll-snap-align:center}
.branch-gallery__cta{padding:16px}
.branch-gallery__cta .btn{width:100%}
.gallery-dialog figure{padding:64px 8px 80px}
.gallery-dialog__prev,.gallery-dialog__next{top:auto;bottom:16px;margin-top:0}
}
html[data-a11y] body :is(.branch-gallery__grid,.city-inside){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,16em),1fr))!important;overflow:visible!important;margin:0!important;padding:0!important}

/* Баннер первого экрана (Codex) — как .hero__scene на главной: на всю ширину и высоту первого экрана, без полей по бокам;
   слева затемнение под текст, справа сцена с техникой. */
.page-hero__banner{position:absolute;inset:0;z-index:0;pointer-events:none}
.page-hero__banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.page-hero__banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,27,24,.92) 0%,rgba(22,27,24,.7) 34%,rgba(22,27,24,0) 58%),linear-gradient(180deg,rgba(22,27,24,.55) 0%,rgba(22,27,24,0) 18%,rgba(22,27,24,0) 82%,rgba(22,27,24,.7) 100%)}
.page-hero:has(.page-hero__banner)>.hero__background{display:none}
.page-hero>.container,.page-hero>.breadcrumbs{position:relative;z-index:1}
.page-hero h1,.page-hero .hero__lead,.page-hero__points li{text-shadow:0 2px 18px rgba(10,14,12,.85)}
@media (max-width:1023px){
.page-hero__banner img{object-position:70% center}
.page-hero__banner:after{background:linear-gradient(180deg,rgba(22,27,24,.82) 0%,rgba(22,27,24,.72) 55%,rgba(22,27,24,.4) 100%)}
}

/* Бренды на странице города: марки-кнопки, ведут в оценку сразу с маркой или на страницу бренда в городе */
.city-brands__box{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:24px 40px;align-items:start;padding:32px 36px;border-radius:18px;background:var(--navy);color:#fff}
.city-brands__head h2{color:#fff;margin-bottom:10px}
.city-brands__head p{color:#c9d2cc;font-size:15px;margin:0}
.city-brands__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.city-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;height:100%;padding:14px 16px;border-radius:12px;border:1px solid #ffffff26;background:#ffffff0d;color:#fff;text-align:left;transition:background .2s,border-color .2s}
.city-brand b{font-size:18px;font-weight:700;letter-spacing:-.01em}
.city-brand span{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#b4d0be}
.city-brand span .icon{width:14px;height:14px;transition:transform .2s}
.city-brand:hover{background:#ffffff1f;border-color:#ffffff4d}
.city-brand:hover span .icon{transform:translateX(3px)}
.city-brand:focus-visible{outline:3px solid #b4d0be;outline-offset:2px}
.city-brand--page{background:#b4d0be;border-color:#b4d0be;color:var(--navy)}
.city-brand--page span{color:var(--navy);font-weight:600}
.city-brand--page:hover{background:#c9dfd1}
.city-brand--other{border-style:dashed}
@media (max-width:1023px){.city-brands__box{grid-template-columns:1fr;padding:26px 22px}}
@media (max-width:767px){.city-brands__list{grid-template-columns:repeat(2,minmax(0,1fr))}.city-brand b{font-size:16px}}
.accept-brands{margin-top:28px}
.accept-brands .h2-like{color:#fff;font-size:28px;line-height:1.15;margin-bottom:10px}
@media (max-width:767px){.accept-brands .h2-like{font-size:23px}}

/* Первый экран внутренних страниц (04.10.2026): оффер наверху, форма оценки целиком на первом экране (≥ 1366×768).
   Описание формы и ссылка на квиз скрыты, загрузка фото и выбор точки — в одну строку. */
@media (min-width:1024px){
.page-hero__layout{align-items:start!important;padding-top:14px!important;padding-bottom:36px!important}
.page-hero h1{font-size:46px;line-height:1.04}
.page-hero .hero__lead{margin-top:16px}
.page-hero .valuation-form{padding:20px 22px}
.page-hero .valuation-form__heading{margin-bottom:10px}
.page-hero .valuation-form__heading p:not(.valuation-form__title){display:none}
.page-hero .valuation-form .field,.page-hero .valuation-form .choice-field,.page-hero .valuation-form .upload-field{margin-top:10px!important;margin-bottom:0!important}
.page-hero .valuation-form .field-label,.page-hero .valuation-form legend{margin-bottom:5px!important;font-size:14px}
.page-hero .valuation-form select,.page-hero .valuation-form .field--phone input{min-height:44px;height:44px}
.page-hero .valuation-form .choice-field label span,.page-hero .valuation-form .choice-field button{min-height:40px;padding-block:6px}
.page-hero .valuation-form .dropzone{min-height:0;padding:8px 12px;gap:10px}
.page-hero .valuation-form .dropzone small{display:none}
.page-hero .valuation-form .field--point .field--point__hint{display:none}
.page-hero .valuation-form__send{margin-top:12px}
.page-hero .valuation-form .consent{font-size:12px;line-height:1.35;margin-bottom:10px}
.page-hero .valuation-form__quiz{display:none}
.page-hero .valuation-form__title{font-size:22px!important;line-height:1.15!important;white-space:nowrap}
.page-hero .valuation-form .field--point .field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap}
.page-hero .valuation-form .field--point__near{margin:0!important;font-size:13px}
.page-hero .valuation-form .upload-field .field-label small{display:none}
.page-hero .valuation-form .dropzone b{font-size:14px;font-weight:600}
}
