/* Собственные секции страниц (build/sections.py). Переменные, кнопки и форма — als-brands.css */
.als-page { background: #fff; padding: 20px 0 40px; }
.als-p-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.als-p-sec { padding: 44px 0; }
.als-p-sec_gray { background: #f6f6f6; }
.als-p-h2 { font-size: 33px; line-height: 1.2; font-weight: 700; text-transform: uppercase; margin: 0 0 26px; color: var(--ink); }
.als-p-h2_line::after { content: ''; display: block; width: 67px; height: 6px; border-radius: 6px; background: var(--red); margin-top: 12px; }
.als-p-h2_light { color: #fff; }
.als-p-intro { font-size: 18px; line-height: 1.5; color: #3d3d3d; margin: -8px 0 28px; max-width: 820px; }
.als-ico { width: 44px; height: 44px; color: var(--red); flex: 0 0 auto; }

/* кнопки первого экрана */
.als-pbtn { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 8px 8px 8px 24px;
  border-radius: 20px; background: var(--red); color: #fff !important; font-size: 17px; font-weight: 500; text-decoration: none; box-sizing: border-box;
  border: 2px solid var(--red); transition: background .2s, border-color .2s; }
.als-pbtn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.als-pbtn__icon { width: 42px; height: 42px; border-radius: 14px; background: #fff; color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.als-pbtn__icon svg { width: 13px; height: 13px; }
.als-pbtn_ghost { background: #fff; color: var(--red) !important; }
.als-pbtn_ghost .als-pbtn__icon { background: var(--red); color: #fff; }
.als-pbtn_ghost:hover { background: #fdf3f3; border-color: var(--red); }

/* хлебные крошки */
.als-p-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 6px; padding-bottom: 4px; }
.als-p-crumbs a { color: var(--red) !important; text-decoration: none; }
.als-p-crumbs b { font-weight: 400; color: var(--ink); }

/* первый экран */
.als-hero2 { padding-top: 24px; }
.als-hero2__grid { display: grid; grid-template-columns: 701fr 486fr; gap: 13px; min-height: 430px; }
.als-hero2_noimg .als-hero2__grid { grid-template-columns: 1fr; min-height: 340px; }
.als-hero2__card { position: relative; overflow: hidden; border-radius: 20px; padding: 40px 36px; color: #fff; display: flex; flex-direction: column; justify-content: center;
  background: #4b0708 url(/images/als-rosette-bg.webp) right bottom / cover no-repeat; }
/* фон карточки — как у первого экрана E+H (встреча 20.10); старый орнамент не нужен */
.als-hero2__ornament { display: none; }
.als-hero2__kicker { position: relative; align-self: flex-start; margin: 0 0 22px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.als-hero2__title { position: relative; margin: 0 0 18px; font-size: 38px; line-height: 1.25; font-weight: 800; text-transform: uppercase; max-width: 620px; }
.als-hero2__text { position: relative; margin: 0; font-size: 19px; line-height: 1.45; max-width: 560px; opacity: .95; }
.als-hero2__media { position: relative; border-radius: 20px; overflow: hidden; background: #eee; }
.als-hero2__media > img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.als-hero2__badge { position: absolute; left: 50%; bottom: 18px; transform: translateX(-38%); width: min(380px, 86%); display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.96); border-radius: 16px; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.15); color: var(--ink); }
.als-hero2__badge-logo { flex: 0 0 110px; display: flex; align-items: center; justify-content: center; padding-right: 14px; border-right: 1px solid var(--line); min-height: 48px; }
.als-hero2__badge-logo img { max-width: 100%; max-height: 48px; }
.als-hero2__badge-word { color: var(--red); font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.als-hero2__badge b { display: block; font-size: 16px; font-weight: 700; }
.als-hero2__badge span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.als-hero2__bar { display: grid; grid-template-columns: 701fr 486fr; gap: 13px; margin-top: 13px; }
.als-hero2_noimg .als-hero2__bar { grid-template-columns: 1fr auto; }
.als-hero2__buttons { display: flex; gap: 13px; }
.als-hero2__buttons .als-pbtn { flex: 1 1 0; }
.als-hero2__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); border: 1px solid var(--red); border-radius: 20px; overflow: hidden; }
.als-hero2__stat { padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.als-hero2__stat:first-child { border-left: 0; }
.als-hero2__stat b { color: var(--red); font-size: 24px; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.als-hero2__stat span { font-size: 12.5px; line-height: 1.3; color: var(--muted); margin-top: 3px; }

/* кратко о производителе */
.als-about2 { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.als-about2__title { margin: 0; font-size: 33px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.als-about2__title::after { content: ''; display: block; width: 175px; height: 6px; border-radius: 6px; background: var(--red); margin-top: 12px; }
.als-about2__text p { margin: 0 0 12px; font-size: 19px; line-height: 1.55; color: #222; }

/* почему бренд */
.als-why2__top { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; margin-bottom: 20px; }
.als-why2__lead { display: flex; flex-direction: column; justify-content: center; }
.als-why2__banner { position: relative; overflow: hidden; border-radius: 20px; padding: 30px 32px; color: #fff; min-height: 220px; box-sizing: border-box;
  background: radial-gradient(120% 140% at 100% 0%, #ac1318 0%, #870407 50%, #4b0708 100%); }
/* с картинкой — фон с сеткой и бликами, как у карточки «1200» на E+H */
.als-why2__banner_img { padding-right: 46%; background: url(/images/als-net-bg.webp) center / cover no-repeat, #8a0409; }
/* картинка по эталону Даниила (21.10): оборудование на пьедесталах, пьедесталы выходят из нижнего края карточки */
.als-why2__banner-img { position: absolute; right: 18px; bottom: 0; width: 38%; height: auto; max-height: calc(100% - 14px); object-fit: contain; object-position: right bottom; }
.als-why2__accent { display: block; font-size: 34px; line-height: 1.1; font-weight: 800; text-transform: uppercase; }
.als-why2__caption { display: block; margin-top: 10px; font-size: 18px; font-weight: 500; }
/* две черты, как в карточке «1200» на E+H: красная и белая с нахлёстом (28.10) */
.als-why2__caption::after { content: ''; display: block; width: 45px; height: 5px; border-radius: 5px; background: #fff; margin: 14px 0 0 40px; box-shadow: -40px 0 0 #ed1b24; }
.als-why2__banner p { margin: 16px 0 0; font-size: 15px; line-height: 1.5; opacity: .9; }
.als-why2__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.als-why2__card { background: #f6f6f6; border-radius: 20px; padding: 18px 18px 22px; transition: transform .25s, box-shadow .25s; }
.als-why2__card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(75,7,8,.1); }
.als-why2__card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.als-why2__num { display: inline-block; padding: 4px 12px; border-radius: 10px; background: var(--red); color: #fff; font-size: 14px; }
.als-why2__card h3 { margin: 0 0 10px; color: var(--red); font-size: 21px; line-height: 1.15; font-weight: 700; }  /* как у E+H (встреча 20.10) */
.als-why2__card p { margin: 0; font-size: 15px; line-height: 1.5; color: #333; }

/* что поставляем */
.als-cat2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.als-cat2__card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #f6f6f6; border-radius: 20px; padding: 24px 22px 22px;
  color: var(--ink) !important; text-decoration: none; transition: transform .25s, box-shadow .25s; min-height: 220px; box-sizing: border-box; }
a.als-cat2__card:hover { box-shadow: 0 12px 28px rgba(75,7,8,.12); }
/* при наведении увеличивается только прибор (встреча 20.10) */
.als-cat2__img img { transition: scale .25s ease; transform-origin: 50% 100%; }
a.als-cat2__card:hover .als-cat2__img img { scale: 1.08; }
.als-cat2__dash { width: 30px; height: 4px; border-radius: 4px; background: var(--red); margin-bottom: 18px; }
.als-cat2__card h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.als-cat2__card p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.45; color: #333; }
.als-cat2__card .als-cat2__models { font-size: 13.5px; color: var(--muted); margin-top: auto; }
.als-cat2__card_img { min-height: 400px; padding-bottom: 180px; }
.als-cat2__card_img .als-cat2__models { margin-top: 0; }
.als-cat2__img { position: absolute; right: 0; bottom: 0; width: 72%; height: 170px; display: flex; align-items: flex-end; justify-content: flex-end; }
.als-cat2__img::before { content: ''; position: absolute; right: 0; bottom: 0; width: 70%; height: 62%; background: var(--red); border-radius: 60% 0 0 0 / 70% 0 0 0; }
.als-cat2__img img { position: relative; max-width: 88%; max-height: 165px; object-fit: contain; margin: 0 14px 10px 0; border-radius: 10px; }
.als-cat2__more { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 15px; margin-top: 6px; }
.als-cat2__more svg { width: 10px; height: 10px; }

/* популярные модели */
.als-mod2 { background: #4b0708 url(/images/als-net-bg.webp) 85% 50% / cover no-repeat; padding: 48px 0 56px; }
.als-mod2__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.als-mod2__head .als-p-h2 { margin: 0; }
.als-mod2__arrows { display: flex; gap: 14px; flex: 0 0 auto; }
.als-mod2__arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.14); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s, opacity .2s; }
/* только мышь: на iPhone после нажатия :hover «залипает», и белая кнопка становилась полупрозрачной — как неактивная (30.10) */
@media (hover: hover) { .als-mod2__arrow:hover { background: rgba(255,255,255,.26); } }
.als-mod2__arrow:disabled { opacity: .35; cursor: default; }
.als-mod2__arrow svg { width: 22px; height: 22px; }
.als-mod2__arrow_prev svg { transform: rotate(180deg); }
.als-mod2__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 14px 2px 6px; margin: -14px -2px 0; outline: none; }
.als-mod2__track::-webkit-scrollbar { display: none; }
.als-mod2__card { scroll-snap-align: start; position: relative; background: #fff; border-radius: 20px; padding: 26px 20px 20px; display: flex; flex-direction: column; }
.als-mod2__tag { position: absolute; top: -12px; right: 16px; background: #d8352c; color: #fff; border-radius: 14px; padding: 5px 12px; font-size: 12.5px; text-transform: uppercase; font-weight: 600; }
.als-mod2__img { height: 190px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.als-mod2__img img { max-width: 100%; max-height: 190px; object-fit: contain; mix-blend-mode: multiply; }
.als-mod2__type { margin: 0 0 4px; font-size: 14px; color: #333; }
.als-mod2__name { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.als-mod2__spec { margin: 0 0 18px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.als-mod2__btn { margin-top: auto; align-self: flex-start; background: var(--red); color: #fff !important; text-decoration: none; border-radius: 16px; padding: 10px 20px; font-size: 14px; font-weight: 500; transition: background .2s; }
.als-mod2__btn:hover { background: var(--red-dark); }

/* отрасли */
.als-ind2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.als-ind2__item { display: flex; gap: 18px; align-items: stretch; background: #f6f6f6; border-radius: 20px; padding: 14px; color: var(--ink) !important; text-decoration: none; transition: transform .25s, box-shadow .25s; }
a.als-ind2__item:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(75,7,8,.1); }
.als-ind2__media { flex: 0 0 150px; min-height: 120px; border-radius: 14px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.als-ind2__media img { width: 100%; height: 100%; object-fit: cover; }
.als-ind2__body { padding: 8px 6px 8px 0; }
.als-ind2__body h3 { margin: 0 0 8px; font-size: 19px; color: var(--red); font-weight: 700; }
.als-ind2__body p { margin: 0; font-size: 15px; line-height: 1.5; color: #333; }

/* тезисы */
.als-feat2 { display: grid; gap: 16px; }
.als-feat2_2 { grid-template-columns: repeat(2, 1fr); }
.als-feat2_3 { grid-template-columns: repeat(3, 1fr); }
.als-feat2_4 { grid-template-columns: repeat(4, 1fr); }
.als-feat2__item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 2px solid var(--card-line); border-radius: 20px; padding: 22px 20px; }
.als-p-sec_gray .als-feat2__item { border-color: transparent; }
.als-feat2__item .als-ico { width: 40px; height: 40px; }
.als-feat2__item h3 { margin: 4px 0 8px; font-size: 18px; line-height: 1.25; font-weight: 700; }
.als-feat2__item p { margin: 0; font-size: 15px; line-height: 1.5; color: #444; }
.als-feat2__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--red) !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.als-feat2__link svg { width: 10px; height: 10px; }

/* этапы */
.als-steps2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: s; }
.als-steps2 li { position: relative; padding: 0 22px 0 0; }
.als-steps2 li::before { content: ''; position: absolute; left: 50px; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 14px); opacity: .45; }
.als-steps2 li:last-child::before { display: none; }
.als-steps2__num { position: relative; display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 16px; align-items: center; justify-content: center; margin-bottom: 16px; }
.als-steps2 h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.als-steps2 p { margin: 0; font-size: 15px; line-height: 1.5; color: #444; }

/* текст + картинка */
.als-split2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.als-split2_rev .als-split2__media { order: -1; }
.als-split2_text { grid-template-columns: 1fr; }
.als-split2__text p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: #2b2b2b; }
.als-split2__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.als-split2__list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; }
.als-split2__list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.als-split2__media { border-radius: 20px; overflow: hidden; background: #f3f3f3; aspect-ratio: 4 / 3; }
.als-split2__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* таблица */
.als-table2 { overflow-x: auto; border-radius: 20px; border: 2px solid var(--card-line); }
.als-table2 table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.als-table2 th { background: var(--wine); color: #fff; text-align: left; font-weight: 600; padding: 14px 18px; }
.als-table2 td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.als-table2 tr:nth-child(even) td { background: #fafafa; }
.als-table2 td:first-child { font-weight: 600; }
.als-table2__note { font-size: 13.5px; color: var(--muted); margin: 12px 4px 0; }

/* связанные ссылки */
.als-links2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.als-links2__item { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--card-line); border-radius: 18px; padding: 14px 16px; color: var(--ink) !important; text-decoration: none; transition: border-color .2s, transform .2s; }
.als-links2__item:hover { border-color: var(--red); transform: translateY(-2px); }
.als-links2__item img { width: 56px; height: 56px; object-fit: contain; flex: 0 0 auto; mix-blend-mode: multiply; }
.als-links2__item .als-ico { width: 36px; height: 36px; }
.als-links2__item span { flex: 1; }
.als-links2__item b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.als-links2__item small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.als-links2__item i { width: 32px; height: 32px; border-radius: 50%; background: #fdf3f3; color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.als-links2__item i svg { width: 10px; height: 10px; }

/* FAQ, текст */
.als-faq2 { display: grid; gap: 10px; max-width: 900px; }
.als-faq2__item { background: #f6f6f6; border-radius: 16px; padding: 0 20px; }
.als-faq2__item summary { cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.als-faq2__item summary::after { content: '+'; color: var(--red); font-size: 24px; line-height: 1; }
.als-faq2__item[open] summary::after { content: '−'; }
.als-faq2__item p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.55; color: #333; }
.als-text2 { max-width: 900px; }
.als-text2 p { font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.als-form-section__note { font-size: 14px; opacity: .8; }
.als-page .als-form-section { margin-top: 30px; }

@media (max-width: 1199px) {
  .als-hero2__title { font-size: 32px; }
  .als-mod2__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .als-why2__cards { grid-template-columns: repeat(2, 1fr); }
  .als-feat2_4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 959px) {
  .als-p-sec { padding: 32px 0; }
  .als-p-h2 { font-size: 26px; }
  .als-hero2__grid, .als-hero2__bar, .als-hero2_noimg .als-hero2__bar { grid-template-columns: 1fr; }
  .als-hero2__media { min-height: 300px; }
  .als-about2, .als-why2__top, .als-split2 { grid-template-columns: 1fr; gap: 20px; }
  .als-split2_rev .als-split2__media { order: 0; }
  .als-cat2 { grid-template-columns: repeat(2, 1fr); }
  .als-ind2 { grid-template-columns: 1fr; }
  .als-feat2_3 { grid-template-columns: repeat(2, 1fr); }
  .als-mod2__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .als-steps2 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .als-steps2 li::before { display: none; }
}
@media (max-width: 639px) {
  .als-p-wrap { padding: 0 16px; }
  .als-p-h2 { font-size: 22px; }
  .als-p-intro { font-size: 16px; }
  .als-hero2 { padding-top: 12px; }
  .als-hero2__card { padding: 28px 20px; }
  .als-hero2__title { font-size: 24px; }
  .als-hero2__text { font-size: 16px; }
  .als-hero2__ornament { width: 260px; right: -70px; bottom: -80px; }
  .als-hero2__media { min-height: 230px; }
  .als-hero2__badge { transform: translateX(-50%); bottom: 12px; }
  .als-hero2__buttons { flex-direction: column; }
  .als-hero2__stats { grid-template-columns: 1fr 1fr; }
  .als-hero2__stat:nth-child(3) { border-left: 0; }
  .als-hero2__stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .als-about2__title { font-size: 24px; }
  .als-about2__text p { font-size: 16px; }
  .als-why2__accent { font-size: 26px; }
  .als-why2__banner_img { padding-right: 32px; padding-bottom: 250px; }
  .als-why2__banner-img { right: 50%; translate: 50% 0; width: calc(100% - 24px); max-width: 320px; max-height: none; }
  .als-why2__cards, .als-cat2, .als-feat2_2, .als-feat2_3, .als-feat2_4, .als-steps2 { grid-template-columns: 1fr; }
  .als-cat2__card_img { min-height: 0; }
  .als-mod2__head { flex-direction: column; align-items: flex-start; }
  .als-mod2__track { grid-auto-columns: 86%; }
  .als-ind2__item { flex-direction: column; }
  .als-ind2__media { flex-basis: auto; height: 160px; }
}

/* первый экран подстраниц оборудования: прибор целиком на светлой подложке с сеткой — контраст к красной карточке
   (Даниил, 21.10: «фон у приборов контрастным соседней красной, приборы в полный размер») */
.als-hero2__media_product { background: url(/images/sub/light-net.webp) 60% 40% / cover no-repeat, #f5f5f5; }
.als-hero2__media_product > img { object-fit: contain; object-position: 50% 72%; padding: 24px 28px 44px; box-sizing: border-box;  /* 26.10: прибор крупнее и ниже, плашка с логотипом его немного перекрывает */
  filter: drop-shadow(0 18px 16px rgba(60, 10, 10, .16)); }
@media (max-width: 959px) { .als-hero2__media_product { min-height: 380px; } }
@media (max-width: 639px) {
  .als-hero2__media_product { min-height: 320px; }
  .als-hero2__media_product > img { padding: 16px 16px 40px; }
}

/* служебные страницы сравнения вариантов */
.als-variant { padding-top: 48px; padding-bottom: 6px; border-top: 1px dashed var(--line); margin-top: 24px; }
.als-variant__tag { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--red); border-radius: 10px; padding: 4px 12px; margin-bottom: 10px; }
.als-variant__title { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.als-variant__note { margin: 0; max-width: 820px; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* схема процесса (отрасли HAUS) */
.als-scheme { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; counter-reset: s; }
.als-scheme__node { position: relative; background: #fff; border: 2px solid var(--card-line); border-radius: 18px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.als-scheme__node:not(:last-child)::after { content: ''; position: absolute; right: -30px; top: 50%; width: 26px; height: 2px; background: var(--red); }
.als-scheme__node:not(:last-child)::before { content: ''; position: absolute; right: -31px; top: calc(50% - 5px); width: 8px; height: 8px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg); }
.als-scheme__num { font-size: 13px; font-weight: 800; color: var(--red); }
.als-scheme__node h3 { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 700; }
.als-scheme__node p { margin: 0; font-size: 14px; line-height: 1.45; color: #444; }
.als-scheme__node_eq { background: linear-gradient(160deg, #ac1318 0%, #870407 60%, #4b0708 100%); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(75,7,8,.18); }
.als-scheme__node_eq .als-scheme__num, .als-scheme__node_eq p { color: rgba(255,255,255,.85); }
.als-scheme__eq { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--red) !important; border-radius: 10px; padding: 5px 10px; font-size: 13px; font-weight: 600; text-decoration: none; }
.als-scheme__eq svg { width: 9px; height: 9px; }
.als-scheme__eq:hover { background: #fdf3f3; }
.als-scheme__legend { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.als-scheme__dot { width: 14px; height: 14px; border-radius: 4px; background: var(--red); flex: 0 0 auto; }
@media (max-width: 959px) {
  .als-scheme { grid-template-columns: 1fr; gap: 26px; }
  .als-scheme__node:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -24px; width: 2px; height: 22px; }
  .als-scheme__node:not(:last-child)::before { right: auto; left: 28px; top: auto; bottom: -25px; transform: rotate(135deg); }
}

/* ---------- страница фирменного стиля ---------- */
.als-sws { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.als-sw { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--card-line); border-radius: 18px; overflow: hidden; }
.als-sw__chip { height: 120px; display: block; }
.als-sw > div { padding: 14px 16px 16px; }
.als-sw b { display: block; font-size: 17px; }
.als-sw code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--red); }
.als-sw small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.als-sw p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: #444; }
.als-sw__grad { height: 46px; border-radius: 14px; margin-top: 18px; background: linear-gradient(90deg, #e30613, #ac1318 35%, #870407 65%, #4b0708); }
.als-spec { display: grid; gap: 4px; border-top: 1px solid var(--line); }
.als-spec__row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.als-spec__meta { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .02em; }
.als-spec__text { font-size: 30px; line-height: 1.2; }
.als-spec__scales { display: grid; gap: 18px; margin-top: 32px; }
.als-spec__scale { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: baseline; }
.als-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.als-logo-tile { margin: 0; border-radius: 18px; border: 2px solid var(--card-line); overflow: hidden; }
.als-logo-tile img { display: block; width: 100%; height: 150px; object-fit: contain; padding: 26px 30px; box-sizing: border-box; }
.als-logo-tile_light { background: #fff; }
.als-logo-tile_paper { background: #f4efee; }
.als-logo-tile_dark { background: #1a0d0d; }
.als-logo-tile_red { background: #4b0708 var(--als-brand-bg, none) center / cover; }
.als-logo-tile figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.als-iconset { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.als-iconset li { background: #fff; border: 2px solid var(--card-line); border-radius: 16px; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13.5px; color: #444; text-align: center; }
.als-iconset img { width: 64px; height: 64px; }
.als-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.als-rules__col { border-radius: 20px; padding: 22px 24px; background: #fff; border: 2px solid var(--card-line); }
.als-rules__col h3 { margin: 0 0 12px; font-size: 19px; }
.als-rules__col_yes h3 { color: #1f7a4d; } .als-rules__col_no h3 { color: var(--red); }
.als-rules__col ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.5; }
.als-show { display: grid; gap: 22px; }
.als-show__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.als-show__label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.als-divider { display: flex; align-items: center; gap: 0; width: 320px; max-width: 100%; }
.als-divider::before, .als-divider::after { content: ''; width: 7px; height: 7px; border: 1.5px solid var(--red); transform: rotate(45deg); flex: 0 0 auto; }
.als-divider::before { background: var(--red); }
.als-divider span { flex: 1; height: 1.5px; background: var(--red); }
.als-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.als-gal__item { margin: 0; }
.als-gal__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; background: #f3f3f3; }
.als-gal__item img.als-gal__contain { object-fit: contain; padding: 12px; box-sizing: border-box; }
.als-gal__item_wide { grid-column: span 2; }
.als-gal__item_wide img { aspect-ratio: 16 / 7.4; }
.als-gal__item figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 959px) {
  .als-spec__row, .als-spec__scale { grid-template-columns: 1fr; gap: 4px; }
  .als-spec__text { font-size: 24px; }
  .als-rules { grid-template-columns: 1fr; }
  .als-gal { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479px) { .als-gal { grid-template-columns: 1fr; } .als-gal__item_wide { grid-column: auto; } }
.als-spec__scale > span:last-child { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 639px) { .als-spec__scale > span:last-child { font-size: 21px !important; } .als-spec__text { font-size: 20px; } }
.als-scheme__node { min-width: 0; }
.als-scheme__node h3, .als-scheme__node p { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 960px) and (max-width: 1199px) {
  .als-scheme { grid-template-columns: repeat(3, 1fr); }
  .als-scheme__node:nth-child(3n)::after, .als-scheme__node:nth-child(3n)::before { display: none; }
}

/* ---------- страница новости /tpost/… (server/news_page.py) */
.als-post { max-width: 880px; padding-top: 28px; padding-bottom: 56px; }
.als-post__head { margin-bottom: 28px; }
.als-post__date { display: inline-block; font-size: 14px; font-weight: 600; color: var(--red); background: #fdf3f3; border-radius: 10px; padding: 5px 12px; margin-bottom: 16px; }
.als-post__title { margin: 0 0 16px; font-size: 40px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.als-post__lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); }
.als-post__cover { position: relative; margin: 0 0 34px; border-radius: 20px; overflow: hidden; background: #4b0708; display: flex; justify-content: center; }
.als-post__cover::before { content: ''; position: absolute; inset: -40px; background: var(--cover) center / cover; filter: blur(28px) brightness(.8); }
.als-post__cover img { position: relative; display: block; width: auto; max-width: 100%; height: auto; max-height: 520px; }
.als-post__text { font-size: 18px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.als-post__text .t-redactor__text { font: inherit; line-height: inherit; color: inherit; }
.als-post__text a { color: var(--red) !important; }
.als-post__text img { max-width: 100%; height: auto; border-radius: 14px; }
.als-post__text h2, .als-post__text h3 { margin: 1.4em 0 .5em; line-height: 1.25; }
.als-post__text ul, .als-post__text ol { padding-left: 1.3em; }
.als-post__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.als-post__back { color: var(--red) !important; font-size: 16px; font-weight: 600; text-decoration: none; }
.als-post__back:hover { text-decoration: underline; }
.als-post-more { background: #f6f6f6; padding: 56px 0 64px; }
.als-post-more__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.als-post-more__head .als-p-h2 { margin: 0; }
.als-post-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.als-post-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: 20px; padding: 0 0 22px; overflow: hidden; color: var(--ink) !important; text-decoration: none;
  transition: box-shadow .2s, transform .2s; }
.als-post-card:hover { box-shadow: 0 14px 34px rgba(75,7,8,.12); transform: translateY(-3px); }
.als-post-card__img { display: block; aspect-ratio: 16 / 9; background: #eee; margin-bottom: 8px; }
.als-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.als-post-card time { padding: 0 22px; font-size: 13px; font-weight: 600; color: var(--red); }
.als-post-card b { padding: 0 22px; font-size: 18px; line-height: 1.35; }
@media (max-width: 959px) {
  .als-post-more__grid { grid-template-columns: 1fr 1fr; }
  .als-post__title { font-size: 32px; }
}
@media (max-width: 639px) {
  .als-post { padding-bottom: 40px; }
  .als-post__title { font-size: 26px; }
  .als-post__lead { font-size: 16px; }
  .als-post__text { font-size: 16px; }
  .als-post__cover { margin-bottom: 24px; border-radius: 14px; }
  .als-post-more { padding: 40px 0 48px; }
  .als-post-more__head { flex-direction: column; align-items: flex-start; }
  .als-post-more__grid { grid-template-columns: 1fr; }
}

/* ---------- вакансии (server/vacancies_page.py) */
.als-vac__list { display: grid; gap: 20px; }
.als-vac { background: #fff; border: 2px solid var(--card-line); border-radius: 20px; padding: 28px 30px; display: grid; gap: 16px; justify-items: start; }
.als-vac__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.als-vac__head h3 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; color: var(--wine); }
.als-vac__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.als-vac__meta li { font-size: 14px; font-weight: 600; color: var(--red); background: #fdf3f3; border-radius: 10px; padding: 5px 12px; }
.als-vac__lead { margin: 0; max-width: 820px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.als-vac__more { width: 100%; }
.als-vac__more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--red); list-style: none; }
.als-vac__more summary::-webkit-details-marker { display: none; }
.als-vac__more summary::after { content: '+'; display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: var(--red); color: #fff; font-weight: 500; }
.als-vac__more[open] summary::after { content: '−'; }
.als-vac__secs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 30px; margin-top: 18px; }
.als-vac__sec h4 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.als-vac__sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.als-vac__sec li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.als-vac__sec li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--red); }
.als-vac__empty { margin: 0; font-size: 17px; color: var(--muted); }
@media (max-width: 639px) { .als-vac { padding: 22px 18px; } .als-vac__head h3 { font-size: 21px; } .als-vac__lead { font-size: 15px; } }

/* первый экран (встреча 20.10): 4 цифры не помещались в рамку («600 000+» вылезал) — мельче шрифт, если цифр 4 и больше;
   плашка бренда — по центру фото, как на E+H */
.als-hero2__stats:has(.als-hero2__stat:nth-child(4)) .als-hero2__stat { padding: 10px 10px; }
.als-hero2__stats:has(.als-hero2__stat:nth-child(4)) .als-hero2__stat b { font-size: 19px; }
.als-hero2__stat span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.als-hero2__stats:has(.als-hero2__stat:nth-child(4)) .als-hero2__stat span { font-size: 11.5px; }
.als-hero2__badge { transform: translateX(-50%); }
@media (max-width: 1199px) and (min-width: 960px) { .als-hero2__stats:has(.als-hero2__stat:nth-child(4)) .als-hero2__stat b { font-size: 17px; } }
.als-hero2__title_long { font-size: 28px; }
@media (max-width: 639px) { .als-hero2__title_long { font-size: 21px; } }
/* без цифр кнопки первого экрана — на всю ширину: одна под карточкой, вторая под фото (встреча 20.10) */
.als-hero2__bar:not(:has(.als-hero2__stats)) .als-hero2__buttons { grid-column: 1 / -1; display: grid; grid-template-columns: 701fr 486fr; }
.als-hero2__bar:not(:has(.als-hero2__stats)) .als-hero2__buttons > .als-pbtn:only-child { grid-column: 1 / 2; }
@media (max-width: 959px) { .als-hero2__bar:not(:has(.als-hero2__stats)) .als-hero2__buttons { grid-template-columns: 1fr; } }

/* «Популярные модели» — один компонент на всех страницах брендов (28.10). Лента на всю ширину окна: карточки уходят
   за левый и правый край экрана (как было в Тильде), первая карточка в покое — по сетке страницы */
.als-mod2 { background: #4b0708 url(/images/als-net-bg.webp) 70% 50% / cover no-repeat; overflow: hidden; }
/* --edge — отступ сетки от края окна; точное значение ставит js/als-page.js (полоса прокрутки в Windows), здесь — запасной расчёт.
   Процентами нельзя: в scroll-padding % считается от ширины самой ленты */
.als-mod2__track { --edge: max(20px, (100vw - 1200px) / 2); --mod-w: min(1200px, 100vw - 40px);
  margin-left: calc(-1 * var(--edge)); margin-right: calc(-1 * var(--edge)); padding-left: var(--edge);
  /* справа — поле по сетке, как слева: в конце ленты последняя карточка встаёт под стрелками, как в каруселях Тильды
     (30.10, Алексей). Края и «всё помещается — стрелок нет» считает js/als-slider.js */
  padding-right: var(--edge);
  scroll-padding-left: var(--edge); grid-auto-columns: calc((var(--mod-w) - 3 * 20px) / 4); }
/* лента на общем движке js/als-slider.js: без нативной прокрутки, едет рельса с карточками (сдвиг --als-x) */
.als-mod2__track.als-mod2__track_js { display: block; overflow: visible; scroll-snap-type: none; touch-action: pan-y; }
.als-mod2__rail { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: inherit; gap: inherit;
  translate: var(--als-x, 0px) 0; }
.als-mod2__track.als-slider_drag { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.als-mod2__track.als-slider_drag * { pointer-events: none; }
@media (hover: hover) { .als-mod2__track { cursor: grab; } }
@media (max-width: 1199px) { .als-mod2__track { grid-auto-columns: calc((var(--mod-w) - 2 * 20px) / 3); } }
@media (max-width: 959px) { .als-mod2__track { grid-auto-columns: calc((var(--mod-w) - 20px) / 2); } }
@media (max-width: 639px) { .als-mod2__track { --edge: 16px; --mod-w: calc(100vw - 32px); grid-auto-columns: calc(var(--mod-w) * .86); } }
/* каталог с картинками в стиле E+H (прибор на красной подложке в самой картинке) — встреча 20.10 */
.als-cat2_cutout .als-cat2__card_img { padding-bottom: 236px; min-height: 0; }
/* 28.10 (Даниил: «картинки криво вставлены, пустое место внизу»): красная подложка — одна форма во всех карточках,
   вплотную к правому нижнему углу; приборы без запечённой подложки (ys/cat2_*-cut.webp) стоят на ней по низу */
.als-cat2_cutout .als-cat2__img { width: 100%; height: 236px; right: 0; bottom: 0; }
.als-cat2_cutout .als-cat2__img::before { display: block; width: 80%; height: 70%; border-radius: 150px 0 0 0 / 120px 0 0 0; }
.als-cat2_cutout .als-cat2__img img { max-width: 82%; max-height: 176px; margin: 0 16px 24px 0; border-radius: 0; }
.als-cat2_cutout .als-cat2__card_img:hover .als-cat2__img img, .als-cat2_cutout .als-cat2__card:hover .als-cat2__img img { scale: 1.06; }
.als-vac__sec_text p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.als-vac__sec_text a { color: var(--ink) !important; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.25); transition: color .2s, border-color .2s; }
.als-vac__sec_text a:hover { color: #ac1318 !important; border-color: currentColor; }
.als-vac__outro { margin: 0; max-width: 820px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink); }

/* «Что мы поставляем»: неполный последний ряд — по центру, как у E+H (7 карточек Youngsun) */
@media (min-width: 960px) {
  .als-cat2 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .als-cat2 > * { grid-column: span 2; }
  .als-cat2 > :last-child:nth-child(3n+1) { grid-column: 3 / 5; }
  .als-cat2 > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / 4; }
  .als-cat2 > :last-child:nth-child(3n+2) { grid-column: 4 / 6; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .als-cat2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .als-cat2 > * { grid-column: span 2; }
  .als-cat2 > :last-child:nth-child(2n+1) { grid-column: 2 / 4; }
}

.als-mod2_static .als-mod2__arrows { visibility: hidden; }
.als-mod2_static .als-mod2__track { overflow-x: hidden; cursor: auto; }

/* страница кончается красным баннером («Подберём…») — без белой полосы перед подвалом (28.10) */
.als-page:has(> :last-child .als-pick:last-child), .als-page:has(> .als-pick:last-child) { padding-bottom: 0; }

/* Таблица «Как выбрать технологию» на телефоне (28.10): второй столбец уезжал за край, прокрутку не было видно —
   каждая строка становится карточкой, у ячеек подпись столбца */
@media (max-width: 639px) {
  .als-table2 { overflow: visible; border: 0; border-radius: 0; }
  .als-table2 table { min-width: 0; display: block; }
  .als-table2 thead { display: none; }
  .als-table2 tbody { display: grid; gap: 10px; }
  .als-table2 tr { display: block; border: 2px solid var(--card-line); border-radius: 16px; overflow: hidden; }
  .als-table2 tr:nth-child(even) td { background: transparent; }
  .als-table2 td { display: block; border-top: 0; padding: 10px 16px; }
  .als-table2 td:first-child { background: var(--wine) !important; color: #fff; padding: 12px 16px; }
  .als-table2 td + td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
  .als-table2 td + td + td { border-top: 1px solid var(--line); }
}

/* Нижняя форма заявки — той же ширины, что все блоки страницы (28.10: была на 40 px уже, на телефоне — на 8 px):
   сетка .als-p-wrap — 1240 px с полями 20 px, на телефоне поля 16 px */
.als-page .als-form-section { max-width: 1240px; }
@media (max-width: 639px) { .als-page .als-form-section { padding: 0 16px; } }

/* «Кратко о бренде» и «Почему …» на своих страницах (Youngsun) — как те же блоки на E+H/HAUS/Panam (28.10, Даниил):
   текст «о бренде» сразу за заголовком, черта по ширине заголовка, крупный текст; баннер «Почему» — верх по заголовку,
   высота и шрифты как у карточки «1200», картинка крупнее; карточки — крупные иконки, номера и тексты как на E+H */
@media (min-width: 960px) {
  .als-about2 { grid-template-columns: max-content 1fr; gap: 0 48px; }
  .als-about2__title { font-weight: 800; line-height: 50px; color: #000; display: inline-block; }
  .als-about2__title::after { width: 100%; }
  .als-about2__text p { font-size: 22px; line-height: 30px; font-weight: 500; color: #000; }
  .als-why2__top { grid-template-columns: 1fr 650px; gap: 32px; align-items: start; margin-bottom: 38px; }
  .als-why2__lead { justify-content: flex-start; padding-top: 6px; }
  .als-why2__lead .als-p-intro { font-size: 26px; line-height: 33px; font-weight: 500; color: #000; margin-top: 18px; }
  .als-why2__banner { min-height: 366px; padding: 26px 22px; }
  .als-why2__banner_img { padding-right: 55%; }
  .als-why2__banner-img { width: 52%; right: 12px; max-height: calc(100% - 24px); }
  .als-why2__accent { font-size: 29px; line-height: 1.1; }
  .als-why2__caption { font-size: 20px; line-height: 1.3; margin-top: 12px; }
  .als-why2__banner p { font-size: 16px; line-height: 21px; font-weight: 500; opacity: 1; }
  .als-why2__card { padding: 21px 18px 26px; min-height: 367px; box-sizing: border-box; }
  .als-why2__card-top { margin-bottom: 30px; }
  .als-why2__card-top .als-ico { width: 80px; height: 80px; color: var(--red); }
  .als-why2__num { padding: 5px 12px; border-radius: 14px; font-size: 16px; }
  .als-why2__card h3 { font-size: 23px; line-height: 26px; margin-bottom: 14px; }
  .als-why2__card p { font-size: 18px; line-height: 24px; font-weight: 300; color: #000; }
}

/* «Популярные модели» на своих страницах (Youngsun) — как тот же блок Тильды на E+H/HAUS/Panam (28.10, Даниил):
   карточки 391 px через 40 px, уходят за правый край окна без затухания, крупные метка, названия и кнопка, стрелки 70 px */
@media (min-width: 960px) {
  .als-mod2 { padding: 46px 0 64px; }
  .als-mod2__head { margin-bottom: 46px; }
  .als-mod2__arrow { width: 70px; height: 70px; }
  .als-mod2__arrow svg { width: 26px; height: 26px; }
  .als-mod2__track { grid-auto-columns: 391px; gap: 40px; padding-top: 20px; margin-top: -20px; }
  /* Крайние позиции остаются по сетке, соседние карточки видны до края экрана.
     Обрезает ленту сама секция .als-mod2, а не внутренний контейнер. */
  .als-mod2__track.als-mod2__track_js { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; overflow: visible; }
  .als-mod2__card_all { justify-content: center; align-items: center; gap: 26px; text-align: center; background: #fff; color: var(--ink) !important; text-decoration: none; }
  /* плашки белые: логотип и фото приборов на белом фоне сливаются с карточкой, а не выделяются квадратом (30.10) */
  .als-mod2__card { background: #fff; padding: 34px 25px 25px; min-height: 483px; box-sizing: border-box; }
  .als-mod2__tag { top: -18px; left: 50%; right: auto; translate: -50% 0; white-space: nowrap; padding: 0 20px; height: 37px; line-height: 37px;
    border-radius: 20px; background: #ed1b24; font-size: 17px; font-weight: 500; }
  .als-mod2__img { height: 250px; margin-bottom: 16px; }
  .als-mod2__img img { max-height: 250px; }
  .als-mod2__type { font-size: 20px; line-height: 1.3; color: #000; margin-bottom: 6px; }
  .als-mod2__name { font-size: 23px; line-height: 1.3; margin-bottom: 10px; }
  .als-mod2__spec { font-size: 19px; line-height: 1.32; color: #000; margin-bottom: 24px; }
  .als-mod2__btn { min-width: 228px; height: 47px; line-height: 47px; padding: 0 22px; text-align: center; border-radius: 20px; font-size: 20px; box-sizing: border-box; }
}

/* карточка «Все модели …» в конце ленты */
.als-mod2__card_all { justify-content: center; align-items: center; gap: 22px; text-align: center; text-decoration: none; color: var(--ink) !important; transition: box-shadow .25s ease; }
.als-mod2__all-logo img { width: 220px; max-width: 80%; display: block; margin: 0 auto; }
.als-mod2__all-title { font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.2; color: var(--red); max-width: 280px; }
.als-mod2__all-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.als-mod2__all-arrow svg { width: 16px; height: 16px; transform-origin: 50% 50%; transition: transform .55s cubic-bezier(.45, 0, .2, 1); }
@media (hover: hover) { .als-mod2__card_all:hover .als-mod2__all-arrow svg { transform: rotate(45deg); } .als-mod2__card_all:hover { box-shadow: 0 12px 28px rgba(0,0,0,.25); } }
/* своя секция внутри страницы Тильды — без полей и фона обёртки .als-page */
.als-page.als-page_flush { padding: 0; background: none; }

/* Стрелки слайдеров — одни на всём сайте (28.10): круг 70 px (на телефоне — как у слайдеров Тильды, 60 px сетки = 16vw),
   прямая стрелка →, неактивная — прозрачность .35. На светлом фоне круг красный со стрелкой белой (слайдеры Тильды),
   на красном фоне — наоборот: белый круг, красная стрелка */
.als-mod2__arrows { gap: 16px; }
.als-mod2__arrow { width: 70px; height: 70px; border: 0; background: #fff; color: #ac1318; box-shadow: none;
  transition: background-color .25s ease, opacity .25s ease, transform .3s cubic-bezier(.2, .7, .3, 1); }
.als-mod2__arrow svg { width: 26px; height: 26px; }
.als-mod2__arrow:disabled { opacity: .35; }
@media (hover: hover) { .als-mod2__arrow:not(:disabled):hover { background: #fdf0f0; transform: translate3d(0, -2px, 0); } }
@media (max-width: 639px) {
  .als-mod2__arrow { width: min(16vw, 60px); height: min(16vw, 60px); }
  .als-mod2__arrow svg { width: 22px; height: 22px; }
}

/* Кнопка с иконкой-квадратом (первые экраны своих страниц): иконка концентрична кнопке — отступ 6 px со всех сторон,
   скругление иконки = скругление кнопки − отступ (16 − 6 = 10). Раньше отступы сверху и справа были разными, а скругления
   не сходились (28.10, Даниил) */
/* 29.10: на компьютере кнопки растягиваются по высоте ряда (73–87 px), а иконка 44 px стояла вплотную к правому краю:
   справа 6 px, сверху и снизу 15–20. Иконка остаётся 44 px, но стоит в квадратной ячейке во всю высоту кнопки —
   отступ справа всегда равен отступам сверху и снизу */
.als-pbtn { min-height: 56px; padding: 0 0 0 24px; border-radius: 18px; align-items: stretch; }
.als-pbtn > span:not(.als-pbtn__icon) { align-self: center; padding: 10px 0; }
.als-pbtn__icon { position: relative; width: auto; height: auto; min-width: 52px; aspect-ratio: 1 / 1; align-self: stretch;
  display: grid; place-items: center; background: none !important; border-radius: 0; color: var(--red); }
.als-pbtn__icon::before { content: ''; grid-area: 1 / 1; width: 44px; height: 44px; border-radius: 12px; background: #fff; transition: background-color .3s ease; }
.als-pbtn__icon svg { grid-area: 1 / 1; position: relative; width: 14px; height: 14px; }
.als-pbtn_ghost .als-pbtn__icon { color: #fff; }
.als-pbtn_ghost .als-pbtn__icon::before { background: var(--red); }
@media (max-width: 639px) { .als-pbtn { min-height: 56px !important; font-size: 16px; } }

/* Служебная страница сравнения фото (/pravki-youngsun, sections.render_compare) */
.als-cmp { display: grid; gap: 28px; margin-top: 28px; }
.als-cmp__row { background: #f6f6f6; border-radius: 20px; padding: 22px; }
.als-cmp__head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.als-cmp__head h3 { margin: 0; font-size: 20px; font-weight: 700; }
.als-cmp__mark { font-size: 13px; font-weight: 700; border-radius: 10px; padding: 4px 12px; white-space: nowrap; }
.als-cmp__mark_ok { background: #e3f3ea; color: #1d7a48; }
.als-cmp__mark_other { background: #fff1d9; color: #8a5a10; }
.als-cmp__mark_none { background: #fbe3e4; color: #ac1318; }
.als-cmp__mark_art { background: #e9ebef; color: #4d5562; }
.als-cmp__note { margin: 8px 0 16px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.als-cmp__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.als-cmp__side { margin: 0; min-width: 0; }
.als-cmp__pic { background: #fff; border-radius: 14px; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.als-cmp__pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.als-cmp__empty { padding: 16px; text-align: center; color: var(--muted); font-size: 15px; border: 2px dashed #d8dbe0; border-radius: 12px; margin: 14px; align-self: stretch; display: flex; align-items: center; justify-content: center; flex: 1; }
.als-cmp__side figcaption { margin-top: 8px; font-size: 14px; color: var(--ink); }
@media (max-width: 640px) { .als-cmp__pair { grid-template-columns: 1fr; } .als-cmp__row { padding: 16px; } }

/* Комментарии к картинкам (js/als-notes.js) */
.als-cmp__side_site .als-cmp__pic { position: relative; cursor: crosshair; }
.als-cmp__side_drafting .als-cmp__pic { box-shadow: 0 0 0 2px #ac1318; }
.als-pins { position: absolute; inset: 0; pointer-events: none; }
.als-pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff;
  background: #ac1318; color: #fff; font: 700 13px/24px Arial, sans-serif; text-align: center; padding: 0; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.35); pointer-events: auto; transition: transform .15s; }
.als-pin_done { background: #1d7a48; }
.als-pin_hl { transform: translate(-50%, -50%) scale(1.3); z-index: 2; }
.als-pin_draft { background: #fff; color: #ac1318; border-color: #ac1318; pointer-events: none; font-size: 18px; line-height: 22px; }
.als-notes { margin-top: 14px; }
.als-notes__bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.als-notes__count { font-size: 14px; color: var(--muted); }
.als-notes__add, .als-notes__save, .als-notes__cancel, .als-note__btn { font: inherit; font-size: 14px; border-radius: 10px; cursor: pointer; }
.als-notes__add { background: #fff; border: 1px solid #d8dbe0; padding: 7px 14px; color: var(--ink); }
.als-notes__add:hover { border-color: #ac1318; color: #ac1318; }
.als-notes__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.als-notes__list:empty { display: none; }
.als-note { display: flex; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 14px; transition: box-shadow .15s; }
.als-note_hl { box-shadow: 0 0 0 2px #ac1318; }
.als-note_done { opacity: .6; }
.als-note__num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #ac1318; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.als-note_done .als-note__num { background: #1d7a48; }
.als-note__body { min-width: 0; flex: 1; }
.als-note__text { margin: 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.als-note__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 6px; font-size: 13px; color: var(--muted); }
.als-note__btn { background: none; border: 0; padding: 0; color: #4d5562; text-decoration: underline; font-size: 13px; }
.als-note__btn_del { color: #ac1318; }
.als-notes__form { margin-top: 12px; background: #fff; border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.als-notes__form[hidden] { display: none; }
.als-notes__hint { margin: 0; font-size: 14px; color: var(--muted); }
.als-notes__form textarea, .als-notes__form input { font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; border: 1px solid #cfd3dc;
  border-radius: 10px; padding: 10px 12px; resize: vertical; }
.als-notes__form textarea:focus, .als-notes__form input:focus { outline: 2px solid #d47779; outline-offset: 1px; }
.als-notes__form input { max-width: 320px; }
.als-notes__err { margin: 0; color: #ac1318; font-size: 14px; }
.als-notes__err:empty { display: none; }
.als-notes__acts { display: flex; gap: 10px; }
.als-notes__save { background: #ac1318; color: #fff; border: 0; padding: 9px 18px; font-weight: 600; }
.als-notes__save:disabled { opacity: .6; cursor: wait; }
.als-notes__cancel { background: #fff; border: 1px solid #d8dbe0; padding: 9px 16px; color: var(--ink); }

/* Крупные цифры «было → стало» (sections.render_stats, /otchet) */
.als-stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.als-stat3 { background: #f6f6f6; border-radius: 20px; padding: 24px; }
.als-p-sec_gray .als-stat3 { background: #fff; }
.als-stat3__val { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.als-stat3__val s { color: var(--muted); font-size: 22px; text-decoration-thickness: 2px; }
.als-stat3__val i { font-style: normal; color: var(--muted); font-size: 20px; }
.als-stat3__val b { color: #ac1318; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.als-stat3 h3 { margin: 12px 0 0; font-size: 18px; font-weight: 700; }
.als-stat3 p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .als-stats3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .als-stats3 { grid-template-columns: 1fr; } .als-stat3__val b { font-size: 34px; } }

/* Сравнение в три колонки: источник версии 1 · версия 1 · версия 2 (/pravki-youngsun, 20.11) */
.als-cmp__pair_3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.als-cmp__tag { display: inline-block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #4d5562; }
.als-cmp__side figcaption a { color: #ac1318; text-decoration: underline; overflow-wrap: anywhere; }
.als-cmp__note_v2 { margin-top: -8px; color: var(--ink); }
.als-notes__group + .als-notes__group { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #d8dbe0; }
.als-notes__title { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
@media (max-width: 900px) { .als-cmp__pair_3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .als-cmp__pair_3 { grid-template-columns: 1fr; } }
