/* by (22.10.2026): блоки главной encarrus.by нового дизайна (includes/nd-by-home-after.php), только стенд.
   Главная .by рендерится как страница каталога (body.new-design-catalog), а стили этих секций на .ru живут в
   new-home.css / nd-split-home.css под body.new-design-home — нужные правила вырезаны оттуда и привязаны к .nd-byh. */
.nd-byh > section > .shell > header.sec-head{margin:0 0 24px;max-width:none}
.nd-byh .sec-h2{font-size:44px;line-height:1.05;letter-spacing:-.025em;font-weight:700;margin:0;color:var(--ink)}
.nd-byh .sec-h2 em{color:var(--accent);font-style:normal}
.nd-byh .sec-eyebrow{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
@media (max-width:760px){.nd-byh .sec-h2{font-size:26px;line-height:1.12}}
/* город */
.nd-byh .byh-city{padding:40px 0 8px}
.nd-byh .byh-city-card{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;background:var(--bg,#F7F7F9);border-radius:var(--radius-lg,20px);padding:32px 34px}
.nd-byh .byh-city-d{margin:14px 0 0;font-size:14.5px;line-height:1.6;color:var(--ink-3,#3D3D48);max-width:560px}
.nd-byh .byh-city-r{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.nd-byh .byh-city-f{background:#FFF;border:1px solid var(--line,#ECECF0);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.nd-byh .byh-city-f b{font-size:17px;font-weight:700;color:var(--ink)}
.nd-byh .byh-city-f span{font-size:12.5px;line-height:1.4;color:var(--muted,#6E6E76)}
.nd-byh .byh-city-cta{display:flex;align-items:center;justify-content:center;background:var(--accent,#E11D2E);color:#FFF!important;border-radius:14px;font-weight:700;font-size:14.5px;text-decoration:none;padding:14px;text-align:center}
.nd-byh .byh-city-cta:hover{background:var(--accent-2,#B8152B)}
@media (max-width:900px){.nd-byh .byh-city-card{grid-template-columns:1fr;padding:22px 18px;gap:18px}}
@media (max-width:480px){.nd-byh .byh-city-r{grid-template-columns:1fr}}
/* видео-обзоры (прежний блок «Сняли несколько видео-обзоров»): большой слева, два справа */
.nd-byh .byh-videos{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:12px;margin-bottom:12px}
.nd-byh .byh-video{position:relative;display:block;border-radius:16px;overflow:hidden;background:var(--line,#ECECF0);aspect-ratio:16/9}
.nd-byh .byh-video-big{grid-row:span 2;aspect-ratio:auto}
.nd-byh .byh-video img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.nd-byh .byh-video:hover img{transform:scale(1.03)}
.nd-byh .byh-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:var(--accent,#E11D2E);color:#FFF;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.25);padding-left:3px}
.nd-byh .byh-video:not(.byh-video-big) .byh-play{width:46px;height:46px}
@media (max-width:760px){.nd-byh .byh-videos{grid-template-columns:1fr 1fr;grid-template-rows:auto}.nd-byh .byh-video-big{grid-column:span 2;grid-row:auto;aspect-ratio:16/9}}
.nd-byh .h2b-vrev-rail{margin-bottom:22px}
.nd-byh .h2b-vrev-play svg{width:56px;height:56px;padding:15px 13px 15px 17px;border-radius:50%;background:var(--accent,#E11D2E);color:#FFF;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.nd-byh .h2b-rv-mes a{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--ink);text-decoration:none}
/* из new-home.css */
.nd-byh .sec-head-row{max-width: 100%; display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 24px; flex-wrap: wrap;}
.nd-byh .sec-head-row > div{text-align: left;}
.nd-byh .sec-link{display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--ink, #0E0E12); text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color .12s ease;}
.nd-byh .sec-link:hover{color: var(--accent, #E11D2E);}
.nd-byh .h2b-encar{padding: 52px 0 8px;}
.nd-byh .h2b-reviews{padding: 52px 0 8px;}
.nd-byh .h2b-encar header.sec-head, .nd-byh .h2b-reviews header.sec-head{background: transparent;}
.nd-byh .h2b-sub{margin: 12px 0 0; max-width: 640px; font-size: 13.5px; line-height: 1.6; color: var(--muted, #6E6E76); text-align: left;}
.nd-byh .h2b-photos{display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;}
.nd-byh .h2b-photo{position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line, #ECECF0);
  aspect-ratio: 4 / 3;}
.nd-byh .h2b-photo img{width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s var(--ease, ease);}
.nd-byh .h2b-photo:hover img{transform: scale(1.03);}
.nd-byh .h2b-photo-big{grid-column: span 2; grid-row: span 2;}
.nd-byh .h2b-photo-name{position: absolute; left: 12px; bottom: 12px; right: 12px;
  padding: 8px 12px;
  background: rgba(14,14,18,.72);
  color: var(--ink-invert, #FFFFFF);
  font-size: 13px; font-weight: 700;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.nd-byh .h2b-photo-more{position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,14,18,.55);
  color: var(--ink-invert, #FFFFFF); font-size: 15px; font-weight: 800;}
.nd-byh .h2b-rv-head{align-items: center;}
.nd-byh .h2b-rv-hero{display: flex; align-items: center; gap: 18px; margin-top: 14px;}
.nd-byh .h2b-rv-big{font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ink, #0E0E12);}
.nd-byh .h2b-rv-stars{color: #facc15; display: flex; gap: 2px;}
.nd-byh .h2b-rv-stars svg{display: block;}
.nd-byh .h2b-rv-count{font-size: 15px; font-weight: 600; color: var(--muted, #6E6E76); margin-top: 6px;}
.nd-byh .h2b-rv-srcs{display: flex; gap: 8px; flex-wrap: wrap;}
.nd-byh .h2b-rv-src{display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px;
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--line, #E4E4DE);
  border-radius: 10px;
  font-size: 12.5px; color: var(--ink, #0E0E12);
  text-decoration: none;
  transition: border-color .12s ease;}
.nd-byh .h2b-rv-src:hover{border-color: var(--ink-3, #3d3d48);}
.nd-byh .h2b-rv-src b{font-weight: 700;}
.nd-byh .h2b-rv-src span{color: var(--muted, #6E6E76); font-size: 12px;}
.nd-byh .h2b-rv-src img{display: block; width: 18px; height: 18px; flex: none;}
.nd-byh .h2b-rv-grid{display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;}
.nd-byh .h2b-rv-foot{display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 28px;}
.nd-byh .h2b-rv-all{display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  background: var(--ink, #0E0E12);
  border-radius: 12px;
  font-size: 13.5px; font-weight: 700;
  text-decoration: none;}
.nd-byh .h2b-rv-all{color: var(--ink-invert, #FFFFFF) !important;}
.nd-byh .h2b-rv-all:hover{background: var(--ink-2, #1E1E24);}
.nd-byh .h2b-rv-tg{font-size: 13px; color: var(--muted, #6E6E76);}
.nd-byh .h2b-rv-tg a{color: var(--ink, #0E0E12); font-weight: 700;}
@media (max-width: 960px){
.nd-byh .h2b-rv-grid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 840px){
.nd-byh .h2b-photos{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 640px){
.nd-byh .h2b-rv-grid{grid-template-columns: 1fr;}
.nd-byh .h2b-rv-big{font-size: 44px;}
.nd-byh .h2b-rv-srcs{margin-top: 6px;}
.nd-byh .h2b-photo-name{font-size: 12px; padding: 6px 9px;}
}
.nd-byh .h2b-reviews{overflow-x: clip;}
.nd-byh .h2b-reviews *{min-width: 0;}
@media (max-width: 860px){
.nd-byh .h2b-rv-big{font-size: 38px; line-height: 1;}
.nd-byh .h2b-rv-count{font-size: 13px;}
.nd-byh .h2b-rv-src{font-size: 12px;}
}
@media (max-width: 700px){
.nd-byh .sec-head-row{gap: 10px;}
}
/* из nd-split-home.css */
@media (max-width: 700px){
.nd-byh main.content section.h2b-encar, .nd-byh main.content section.h2b-reviews{padding-bottom: 34px;}
}
.nd-byh .h2-guar{padding: 34px 0;}
.nd-byh .h2-guar-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px;}
.nd-byh .h2-guar-c{background: var(--bg, #F7F7F9); border-radius: 16px; padding: 22px 20px;}
.nd-byh .h2-guar-i{width: 42px; height: 42px; border-radius: 12px; background: #FFF; color: var(--accent, #E11D2E);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;}
.nd-byh .h2-guar-t{font-size: 16.5px; font-weight: 700;}
.nd-byh .h2-guar-d{font-size: 13.5px; line-height: 1.55; color: var(--muted, #6E6E76); margin-top: 7px;}
@media (max-width: 900px){
.nd-byh .h2-guar-grid{grid-template-columns: 1fr;}
}
@media (max-width: 700px){
.nd-byh .h2-guar{padding: 22px 0;}
}
.nd-byh .h2-guar-tag{display: inline-block; margin-top: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--success, #1E8C4A); background: var(--line-2, #f0f0f3); border-radius: 7px; padding: 5px 9px;}
.nd-byh .h2-guar-up{margin-top: 14px; background: var(--ink, #0E0E12); color: #FFF; border-radius: 20px;
  padding: 26px 28px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 26px; align-items: center;}
.nd-byh .h2-guar-up-tag{display: inline-flex; align-items: center; gap: 8px;
  background: rgba(225, 29, 46, .16); color: #FF6B78; border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;}
.nd-byh .h2-guar-up-t{font-size: 22px; font-weight: 800; margin-top: 12px; letter-spacing: -.01em;}
.nd-byh .h2-guar-up-d{font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.68); margin-top: 9px; max-width: 640px;}
.nd-byh .h2-guar-up-r{background: rgba(255,255,255,.06); border-radius: 16px; padding: 20px;}
.nd-byh .h2-guar-up-note{font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.72);}
.nd-byh .h2-guar-up-btn{display: block; margin-top: 14px; background: var(--accent, #E11D2E); color: #FFF;
  text-decoration: none; text-align: center; font-weight: 700; font-size: 14.5px;
  border-radius: 12px; padding: 13px;}
.nd-byh .h2-guar-up-btn:hover{background: var(--accent-2, #B8152B); color: #FFF;}
.nd-byh .h2-guar-up-sub{font-size: 12px; color: rgba(255,255,255,.45); text-align: center; margin-top: 8px;}
@media (max-width: 900px){
.nd-byh .h2-guar-up{grid-template-columns: 1fr; gap: 18px; padding: 20px;}
.nd-byh .h2-guar-up-t{font-size: 19px;}
}
.nd-byh .h2b-vrev{padding: 52px 0 8px;}
.nd-byh .h2b-vrev header.sec-head{background: transparent;}
.nd-byh .h2b-vrev-rail{display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;}
.nd-byh .h2b-vrev-card{position: relative;
  display: block;
  flex: 0 0 215px;
  min-width: 0;
  scroll-snap-align: start;
  aspect-ratio: 9 / 16;
  background: #FFF;
  border: 1px solid var(--line, #ECECF0);
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s var(--ease, ease), box-shadow .18s var(--ease, ease), border-color .18s var(--ease, ease);}
.nd-byh .h2b-vrev-card:hover{transform: translateY(-3px);
  border-color: var(--ink-3, #3D3D48);
  box-shadow: var(--shadow-lg, 0 24px 56px rgba(14,14,16,.10));}
.nd-byh .h2b-vrev-card img{display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--bg, #F7F7F9);}
.nd-byh .h2b-vrev-play{position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;}
@media (max-width: 760px){
.nd-byh .h2b-vrev .sec-h2{font-size: 26px; line-height: 1.12;}
.nd-byh .h2b-vrev-rail{gap: 12px;}
.nd-byh .h2b-vrev-card{flex-basis: 58vw; max-width: 250px;}
}
