/* ИЭММ: новая главная v2 (iemm-home.css). Откат: IEMM_HOME = false в /bitrix/php_interface/iemm_home.php. Прошлая версия: iemm-home.v1.css */
body.iemm-home-on .drag-block.TIZERS, body.iemm-home-on .drag-block.CUSTOM_TIZERS { display: none !important; }
#ih-root { order: 1; }
.ih { --ih-blue: #365edc; --ih-navy: #0f2554; --ih-ink: #16213d; --ih-muted: #5b6684; padding-bottom: 64px; }
.ih-section { margin: 44px 0 0; }
.ih-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ih-h2 { font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--ih-ink); margin: 0; letter-spacing: -.3px; }
.ih-sub { margin: 6px 0 0; color: var(--ih-muted); font-size: 15px; }
.ih-more { white-space: nowrap; color: var(--ih-blue); font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; transition: gap .25s, color .2s; }
.ih-more:hover { gap: 12px; color: #2443b0; }

/* --- баннер компактнее (только компьютер) --- */
@media (min-width: 992px) {
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big--high,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .main-slider,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .main-slider__wrapper,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .main-slider__item,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big__item,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big__depend-height,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big__inner,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .maxwidth-banner,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big__wrapper,
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .index-block { height: 430px !important; min-height: 0 !important; }
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big__title { font-size: 40px !important; line-height: 1.12 !important; }
  body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big__text-block-bottom, body.iemm-home-on .drag-block.BIG_BANNER_INDEX .banners-big__text-wrapper { font-size: 16px; }
}

/* --- бенто категорий --- */
.ih-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 196px 196px; gap: 12px;
  grid-template-areas: "mo au sv sv" "mo te el sa"; }
.ih-tile { position: relative; overflow: hidden; border-radius: 20px; text-decoration: none !important; display: block;
  background: var(--bg); isolation: isolate; border: 1px solid rgba(22,33,61,.04);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; }
.ih-tile::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 70% at 85% 95%, rgba(255,255,255,.85), transparent 60%); }
.ih-tile::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%); transform: translateX(-120%); }
.ih-tile:hover::after { transform: translateX(120%); transition: transform .9s ease; }
.ih-tile__title { position: absolute; left: 20px; top: 18px; right: 64px; z-index: 2; font-size: 18px; line-height: 1.22;
  font-weight: 700; color: var(--ih-ink); letter-spacing: -.2px; transition: color .25s; }
.ih-tile__count { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 500; color: var(--ih-muted); line-height: 1.35; }
.ih-tile__img { position: absolute; right: 5%; bottom: 0; width: 56%; height: 66%; object-fit: contain; object-position: right bottom;
  mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-origin: 70% 100%; }
.ih-tile--tall .ih-tile__img { width: 88%; height: 58%; right: 6%; bottom: 5%; object-position: center bottom; }
.ih-tile--wide .ih-tile__img { width: 46%; height: 88%; right: 3%; bottom: 0; }
.ih-tile__arr { position: absolute; right: 16px; top: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.85); color: var(--ih-blue);
  box-shadow: 0 6px 14px -8px rgba(22,33,61,.4); transition: background .3s, color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.ih-tile__arr svg { transform: rotate(-45deg); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.ih-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(22,33,61,.5); border-color: rgba(54,94,220,.25); }
.ih-tile:hover .ih-tile__img { transform: scale(1.08) rotate(-1.5deg); }
.ih-tile:hover .ih-tile__title { color: var(--ih-blue); }
.ih-tile:hover .ih-tile__arr { background: var(--ih-blue); color: #fff; transform: scale(1.08); }
.ih-tile:hover .ih-tile__arr svg { transform: rotate(0); }
.ih-a-el { grid-area: el; } .ih-a-au { grid-area: au; } .ih-a-sv { grid-area: sv; } .ih-a-te { grid-area: te; } .ih-a-mo { grid-area: mo; } .ih-a-sa { grid-area: sa; }

/* --- полоса «Стать партнёром» --- */
.ih-strip { position: relative; overflow: hidden; border-radius: 22px; padding: 26px 30px 26px 26px; display: flex; align-items: center; gap: 22px;
  background: linear-gradient(120deg, #0b1d47 0%, #14307a 45%, #2a4fd0 80%, #4d70ff 100%); background-size: 200% 100%; color: #fff;
  animation: ihStripBg 12s ease-in-out infinite alternate; box-shadow: 0 30px 60px -34px rgba(15,37,84,.8); }
@keyframes ihStripBg { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.ih-strip::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); }
.ih-strip::after { content: ""; position: absolute; right: 60px; top: -140px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,152,255,.55), transparent 65%); pointer-events: none; }
.ih-strip__ico { position: relative; z-index: 1; flex: 0 0 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.ih-strip__body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.ih-strip__big { font-size: 26px; font-weight: 800; letter-spacing: .3px; line-height: 1.1; }
.ih-strip__text { margin-top: 6px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.8); }
.ih-strip__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ih-strip__tags span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.12); color: #e6ecff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.ih-btn-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 14px;
  background: #fff; color: #0f2554 !important; font-weight: 700; font-size: 15px; text-decoration: none !important; white-space: nowrap; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; overflow: hidden; }
.ih-btn-cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(54,94,220,.25), transparent);
  animation: ihShine 3.2s ease-in-out infinite; }
@keyframes ihShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ih-btn-cta svg { transition: transform .3s; }
.ih-btn-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 36px -12px rgba(0,0,0,.55); }
.ih-btn-cta:hover svg { transform: translateX(4px); }

/* --- преимущества --- */
.ih-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ih-card { position: relative; background: #fff; border: 1px solid #e6ecfa; border-radius: 18px; padding: 20px 20px 20px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s, background .4s; overflow: hidden; }
.ih-card__n { position: absolute; right: 16px; top: 12px; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  color: transparent; -webkit-text-stroke: 1px #d5def5; transition: -webkit-text-stroke-color .3s, transform .4s; }
.ih-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #365edc, #6f8cff, #36c2dc);
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ih-card:hover { transform: translateY(-4px); border-color: rgba(54,94,220,.3); box-shadow: 0 24px 46px -26px rgba(54,94,220,.5);
  background: linear-gradient(180deg, #fff 0%, #f7f9ff 100%); }
.ih-card:hover::after { transform: scaleX(1); }
.ih-card:hover .ih-card__n { -webkit-text-stroke-color: #8fa6ec; transform: translateY(-2px); }
.ih-card__ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #f2f6ff, #e3ebfd); margin-bottom: 14px; transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s; }
.ih-card__ico svg { width: 26px; height: 26px; }
.ih-card__ico svg * { transition: stroke .3s, fill .3s; }
.ih-card:hover .ih-card__ico { transform: rotate(-6deg) scale(1.08); background: linear-gradient(135deg, #365edc, #5b7bff); }
.ih-card:hover .ih-card__ico svg [stroke]:not([stroke="none"]) { stroke: #fff !important; }
.ih-card:hover .ih-card__ico svg [fill]:not([fill="none"]) { fill: #fff !important; }
.ih-card__t { font-size: 16px; font-weight: 700; color: var(--ih-ink); margin-bottom: 6px; line-height: 1.25; padding-right: 36px; }
.ih-card__d { font-size: 13.5px; line-height: 1.5; color: var(--ih-muted); }
.ih-card--accent { background: linear-gradient(150deg, #0f2554, #2a4fd0); border-color: transparent; }
.ih-card--accent .ih-card__t { color: #fff; } .ih-card--accent .ih-card__d { color: rgba(255,255,255,.8); }
.ih-card--accent .ih-card__ico { background: rgba(255,255,255,.14); }
.ih-card--accent .ih-card__ico svg [stroke]:not([stroke="none"]) { stroke: #fff !important; }
.ih-card--accent .ih-card__ico svg [fill]:not([fill="none"]) { fill: #fff !important; }
.ih-card--accent .ih-card__n { -webkit-text-stroke-color: rgba(255,255,255,.35); }
.ih-card--accent:hover { background: linear-gradient(150deg, #13307a, #365edc); }
.ih-card--accent .ih-chips { margin: 12px 0 0; }
.ih-card--accent .ih-chip { background: rgba(255,255,255,.14); color: #fff; }

/* --- о компании --- */
.ih-about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.ih-about__lead { font-size: 20px; line-height: 1.45; color: #3b4566; margin: 0 0 16px; }
.ih-about__lead b { color: var(--ih-ink); }
.ih-about__p { font-size: 15px; line-height: 1.6; color: var(--ih-muted); margin: 0 0 12px; }
.ih-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.ih-chip { padding: 7px 13px; border-radius: 999px; background: #eef2fd; color: #2443b0; font-weight: 600; font-size: 13px; }
.ih-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ih-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 14px; font-weight: 600; font-size: 15px;
  text-decoration: none !important; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.ih-btn--primary { background: linear-gradient(135deg, #365edc, #5b7bff); color: #fff !important; box-shadow: 0 14px 28px -14px rgba(54,94,220,.8); }
.ih-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(54,94,220,.9); }
.ih-btn--light { background: #fff; color: var(--ih-ink) !important; border: 1px solid #e0e7f8; }
.ih-btn--light:hover { border-color: #365edc; color: #365edc !important; transform: translateY(-2px); }
.ih-about__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 70px -40px rgba(15,37,84,.6); }
.ih-about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.ih-about__media:hover img { transform: scale(1.05); }
.ih-about__badge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 30px -16px rgba(15,37,84,.5); max-width: 72%; }
.ih-about__badge b { display: block; font-size: 15px; color: var(--ih-ink); }
.ih-about__badge span { font-size: 13px; color: var(--ih-muted); }

.ih-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.ih-reveal.ih-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .ih-adv { grid-template-columns: repeat(2, 1fr); }
  .ih-strip { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .ih-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 178px;
    grid-template-areas: "mo au" "mo te" "sv sv" "el sa"; }
  .ih-about { grid-template-columns: 1fr; gap: 26px; }
  .ih-h2 { font-size: 22px; }
}
@media (max-width: 560px) {
  .ih-adv { grid-template-columns: 1fr; }
  .ih-bento { gap: 10px; grid-auto-rows: 168px; }
  .ih-tile { border-radius: 16px; }
  .ih-tile__title { font-size: 14px; letter-spacing: -.3px; left: 12px; top: 12px; right: 10px; }
  .ih-tile__count { font-size: 11.5px; }
  .ih-tile__arr { display: none; }
  .ih-strip { padding: 22px; } .ih-strip__ico { display: none; } .ih-strip__big { font-size: 22px; }
  .ih-btn-cta { width: 100%; justify-content: center; }
  .ih-about__lead { font-size: 17px; }
  .ih-section { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .ih-reveal { opacity: 1; transform: none; transition: none; } .ih-strip, .ih-btn-cta::after { animation: none; } }

.ih-tile--wide .ih-tile__count { max-width: 46%; }
/* ===== БЛАГОДАРСТВЕННЫЕ ПИСЬМА v1 ===== */
.ih-letters { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3*20px)/4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: #c9d5f3 transparent; }
.ih-letters::-webkit-scrollbar { height: 6px; } .ih-letters::-webkit-scrollbar-thumb { background: #c9d5f3; border-radius: 6px; }
.ih-letter { scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none !important; color: var(--ih-ink); background: #fff; border: 1px solid #e6ecfa; border-radius: 18px; padding: 14px 14px 16px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.ih-letter:hover { transform: translateY(-4px); border-color: #c9d5f3; box-shadow: 0 18px 40px -22px rgba(15,37,84,.35); }
.ih-letter__paper { position: relative; display: block; aspect-ratio: 566/800; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg,#f3f6fd,#e8eefb); }
.ih-letter__paper img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 1px 0 rgba(15,37,84,.06); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ih-letter:hover .ih-letter__paper img { transform: scale(1.035); }
.ih-letter__paper::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365edc' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center/18px no-repeat; box-shadow: 0 6px 16px -6px rgba(15,37,84,.35); opacity: 0; transform: translateY(4px); transition: .3s; }
.ih-letter:hover .ih-letter__paper::after { opacity: 1; transform: none; }
.ih-letter__org { margin-top: 14px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.ih-letter__what { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ih-muted); }
@media (max-width: 991px) { .ih-letters { grid-auto-columns: calc((100% - 2*16px)/3); gap: 16px; } }
@media (max-width: 600px) { .ih-letters { grid-auto-columns: 62%; gap: 12px; } .ih-letter { padding: 10px 10px 12px; border-radius: 14px; } .ih-letter__org { font-size: 14px; } }

/* просмотр письма */
.ih-lb { position: fixed; inset: 0; z-index: 10050; background: rgba(10,20,45,.86); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px 72px; }
.ih-lb--on { display: flex; animation: ihLb .25s ease; }
@keyframes ihLb { from { opacity: 0; } to { opacity: 1; } }
.ih-lb__fig { margin: 0; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.ih-lb__fig img { max-height: calc(100vh - 110px); max-width: 100%; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); background: #fff; }
.ih-lb__cap { color: #e6ecfa; font-size: 14px; margin-top: 12px; text-align: center; }
.ih-lb__x, .ih-lb__nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.ih-lb__x:hover, .ih-lb__nav:hover { background: rgba(255,255,255,.25); }
.ih-lb__x { top: 18px; right: 18px; }
.ih-lb__prev { left: 14px; top: 50%; margin-top: -24px; } .ih-lb__next { right: 14px; top: 50%; margin-top: -24px; }
@media (max-width: 600px) { .ih-lb { padding: 60px 8px 70px; } .ih-lb__nav { top: auto; bottom: 14px; margin: 0; } .ih-lb__prev { left: calc(50% - 60px); } .ih-lb__next { right: calc(50% - 60px); } }

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ГЛАВНОЙ v1 ===== */
body.iemm-home-on .drag-block.iemm-empty { display: none !important; }
@media (max-width: 600px) {
  .ih-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ih-adv { grid-template-columns: 1fr; gap: 10px; }
  .ih-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 14px 44px 14px 14px; border-radius: 16px; }
  .ih-card__ico { width: 44px; height: 44px; border-radius: 12px; margin: 0; grid-row: 1 / span 3; }
  .ih-card__ico svg { width: 24px; height: 24px; }
  .ih-card__t { grid-column: 2; font-size: 15px; margin: 2px 0 4px; }
  .ih-card__d { grid-column: 2; font-size: 13px; line-height: 1.45; }
  .ih-card .ih-chips { grid-column: 2; margin-top: 8px; }
  .ih-card__n { font-size: 22px; right: 12px; top: 10px; }
  .ih { padding-bottom: 32px; }
}

/* ===== БЛАГОДАРСТВЕННЫЕ ПИСЬМА: бегущая лента v2 ===== */
.ih-letters.ih-marquee { display: block; overflow: hidden; scroll-snap-type: none; padding: 8px 0 18px; margin: 0; container-type: inline-size; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%); }
.ih-marquee__track { display: flex; gap: 20px; width: max-content; animation: ih-marquee 80s linear infinite; will-change: transform; }
.ih-marquee .ih-letter { flex: 0 0 auto; width: calc((100cqw - 3*20px) / 4); scroll-snap-align: none; }
.ih-marquee:hover .ih-marquee__track, .ih-marquee:focus-within .ih-marquee__track { animation-play-state: paused; }
@keyframes ih-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 991px) { .ih-marquee__track { gap: 16px; animation-name: ih-marquee-md; } .ih-marquee .ih-letter { width: calc((100cqw - 2*16px) / 3); } }
@keyframes ih-marquee-md { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 600px) { .ih-marquee__track { gap: 12px; animation-name: ih-marquee-sm; animation-duration: 60s; } .ih-marquee .ih-letter { width: 62cqw; } }
@keyframes ih-marquee-sm { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .ih-letters.ih-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .ih-marquee__track { animation: none; } .ih-marquee .ih-letter[aria-hidden="true"] { display: none; } }

/* ===== РУЧНАЯ ПРОКРУТКА ЛЕНТ v1 ===== */
.mq-wrap { position: relative; min-width: 0; }
.ipt > .mq-wrap { flex: 1 1 auto; }
.mq-on { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.mq-on.mq-drag { cursor: grabbing; }
.mq-on img { -webkit-user-drag: none; }
.ih-letters.ih-marquee.mq-on { overflow: hidden; }
.ih-marquee.mq-on .ih-letter[aria-hidden="true"] { display: flex; }
.mq-btn { position: absolute; top: 50%; z-index: 4; width: 42px; height: 42px; margin-top: -21px; padding: 0; border-radius: 50%; border: 1px solid #e3e9f6; background: #fff; color: #365edc; box-shadow: 0 8px 22px -10px rgba(15,37,84,.45); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .25s, transform .25s, background .25s; }
.mq-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mq-wrap:hover .mq-btn, .mq-btn:focus-visible { opacity: 1; }
.mq-btn:hover { background: #365edc; color: #fff; transform: scale(1.06); }
.mq-btn--prev { left: -8px; }
.mq-btn--next { right: -8px; }
.ipt .mq-btn { width: 36px; height: 36px; margin-top: -18px; }
@media (hover: none) { .mq-btn { opacity: .92; } }
@media (max-width: 600px) { .mq-btn { display: none; } }


/* ===== Бренды в каталоге v2 (10.11.2026) ===== */
.ih-brands-sec .ih-head { align-items: flex-end; }
.ih-brands-stat { display: flex; gap: 8px; flex-wrap: wrap; }
.ih-brands-stat span { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #F1F4F9; color: #5A6678; font-size: 13px; line-height: 1; white-space: nowrap; }
.ih-brands-stat b { font-family: Unbounded, Onest, sans-serif; font-weight: 600; font-size: 15px; color: #042751; letter-spacing: -.02em; }
.ih-brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ih-brand { position: relative; display: flex; flex-direction: column; min-height: 176px; padding: 14px 14px 14px; background: #fff; border: 1px solid #E3E8F0; border-radius: 20px; color: #042751; text-decoration: none !important; overflow: hidden; isolation: isolate; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.ih-brand__logo { position: relative; display: flex; align-items: center; justify-content: center; height: 84px; margin-bottom: 12px; border-radius: 14px; background: linear-gradient(180deg, #F7F9FC 0%, #F1F4F9 100%); overflow: hidden; }
.ih-brand__logo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(4,39,81,.04); pointer-events: none; }
.ih-brand__logo img { display: block; max-width: 72%; max-height: 40px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .78; transition: filter .35s, opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1); }
.ih-brand__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.ih-brand__name { font-weight: 700; font-size: 15px; line-height: 1.2; color: #042751; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ih-brand__cc { flex: none; font-size: 11px; line-height: 1; font-weight: 600; color: #6B7790; background: #F1F4F9; border-radius: 999px; padding: 5px 8px; }
.ih-brand__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 10px 4px 0; }
.ih-brand__cnt { font-size: 13px; line-height: 1.3; color: #7A8599; }
.ih-brand__cnt b { color: #042751; font-weight: 700; }
.ih-brand__arr { width: 28px; height: 28px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #EEF2F7; color: #042751; transform: rotate(-45deg); transition: background .3s, color .3s, transform .3s; }
.ih-brand__arr svg { width: 14px; height: 14px; }
.ih-brand:hover { transform: translateY(-4px); border-color: #C9D5EA; box-shadow: 0 18px 36px -20px rgba(4,39,81,.45); }
.ih-brand:hover .ih-brand__logo img { filter: none; opacity: 1; transform: scale(1.06); }
.ih-brand:hover .ih-brand__arr { background: #042751; color: #fff; transform: rotate(0); }
.ih-brand--cta { justify-content: space-between; gap: 8px; padding: 18px; background: #042751; border-color: #042751; color: #fff; }
.ih-brand--cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(110,155,234,.38) 0%, rgba(110,155,234,0) 60%), linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/22px 22px, linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/22px 22px; }
.ih-brand__cta-ico { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.ih-brand--cta .ih-brand__name { color: #fff; white-space: normal; font-family: Unbounded, Onest, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.ih-brand--cta .ih-brand__cnt { color: rgba(255,255,255,.72); }
.ih-brand__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; }
.ih-brand__go svg { width: 14px; height: 14px; transition: transform .3s; }
.ih-brand--cta:hover { border-color: #0B3A73; box-shadow: 0 18px 36px -16px rgba(4,39,81,.6); }
.ih-brand--cta:hover .ih-brand__go svg { transform: translateX(4px); }
@media (max-width: 1199px) { .ih-brands { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
  .ih-brands-sec .ih-head { align-items: flex-start; }
  .ih-brands { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ih-brand { min-height: 0; padding: 10px; border-radius: 16px; }
  .ih-brand__logo { height: 64px; margin-bottom: 10px; border-radius: 12px; }
  .ih-brand__logo img { max-height: 30px; filter: none; opacity: 1; }
  .ih-brand__cc { display: none; }
  .ih-brand__name { font-size: 14px; }
  .ih-brand__arr { display: none; }
  .ih-brand__foot { padding-top: 4px; }
}
@media (hover: none) { .ih-brand__logo img { filter: none; opacity: 1; } }

/* v2.1 */
.ih-brand__logo img { filter: none; opacity: 1; max-width: 70%; max-height: 38px; }
.ih-brand:hover .ih-brand__logo img { transform: scale(1.07); }
.ih-brand__logo .ih-brand__cc { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(4,39,81,.06); font-size: 10px; padding: 4px 7px; }
.ih-brand__name { white-space: normal; }
.ih-brand__logo { height: 92px; padding-top: 10px; }
.ih-logo--rittal img { max-height: 58px; }
.ih-logo--ifm img { max-height: 46px; max-width: 78%; }
.ih-logo--sick img, .ih-logo--eaton img { max-height: 44px; }
.ih-logo--wago img { max-height: 34px; }
.ih-logo--iek img { max-height: 34px; }
.ih-logo--ab img { max-width: 80%; }
@media (max-width: 767px) { .ih-brand__logo { height: 70px; padding-top: 6px; } .ih-brand__logo .ih-brand__cc { display: none; } .ih-logo--rittal img { max-height: 46px; } }

.ih-logo--wago img { max-height: 52px; max-width: 64%; }
.ih-logo--rittal img { max-height: 66px; }
.ih-logo--pf img { max-width: 80%; }
@media (max-width: 767px) { .ih-logo--wago img { max-height: 40px; } .ih-logo--rittal img { max-height: 50px; } }
