/* Выбор режима: три высокие панели, активная раскрывается. Текстура — deepslate из проекта. */
body.et-home .et-modes.mm { display: flex; gap: 12px; height: clamp(480px, 64vh, 620px); }
body.et-home .mm-p {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px; cursor: pointer; outline: none;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(9,9,9,.5), rgba(9,9,9,.94)), url(/img/tex/deepslate.png) 0 0 / 96px;
  image-rendering: pixelated;
  transition: flex-grow .75s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .5s;
}
body.et-home .mm-p.on { flex-grow: 3.3; border-color: rgba(245,197,24,.5); box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 60px rgba(245,197,24,.08); }
body.et-home .mm-p::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none;
  background: radial-gradient(420px 360px at 72% 62%, rgba(245,197,24,.26), transparent 70%); }
body.et-home .mm-p.on::before { opacity: 1; }
body.et-home .mm-p::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .6s;
  background: linear-gradient(90deg, rgba(9,9,9,.94) 0, rgba(9,9,9,.7) 34%, transparent 62%); }
body.et-home .mm-p.on::after { opacity: 1; }
body.et-home .mm-num, body.et-home .mm-vert { z-index: 2; }
body.et-home .mm-p:focus-visible { outline: 2px solid rgba(245,197,24,.7); outline-offset: 2px; }

body.et-home .mm-num { position: absolute; left: 24px; top: 10px; font: 800 clamp(70px, 9vw, 130px)/1 Rubik, sans-serif; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.13); transition: -webkit-text-stroke-color .5s, transform .7s cubic-bezier(.2,.8,.2,1); }
body.et-home .mm-p.on .mm-num { -webkit-text-stroke-color: rgba(245,197,24,.55); transform: translateY(4px); }

body.et-home .mm-img { position: absolute; bottom: 0; left: 50%; height: 88%; width: auto; max-width: none; object-fit: contain; pointer-events: none; user-select: none;
  transform: translateX(-50%) scale(.9); opacity: .4; filter: grayscale(.7) brightness(.7);
  transition: left .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1), opacity .5s, filter .6s; }
body.et-home .mm-p:hover:not(.on) .mm-img { opacity: .6; }
body.et-home .mm-p.on .mm-img { left: 77%; height: 80%; transform: translateX(-50%) scale(1); opacity: 1; filter: drop-shadow(0 20px 28px rgba(0,0,0,.55)); }

body.et-home .mm-vert { position: absolute; left: 50%; bottom: 26px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font: 800 28px/1 Rubik, sans-serif; letter-spacing: .14em; color: #e9ebeb; transition: opacity .3s, color .3s; }
body.et-home .mm-p:hover:not(.on) .mm-vert { color: var(--y); }
body.et-home .mm-p.on .mm-vert { opacity: 0; }

body.et-home .mm-body { z-index: 3; position: absolute; left: clamp(22px, 2.4vw, 38px); bottom: clamp(22px, 2.4vw, 38px); width: min(330px, 46%);
  opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .3s, transform .3s; }
body.et-home .mm-p.on .mm-body { opacity: 1; transform: none; pointer-events: auto; transition: opacity .55s .22s, transform .6s .22s cubic-bezier(.2,.8,.2,1); }
body.et-home .mm-tag { display: inline-block; font: 800 10px/1 Rubik, sans-serif; letter-spacing: .16em; color: var(--y); padding: 6px 10px; border: 1px solid rgba(245,197,24,.4); border-radius: 99px; }
html body.et-home .mm-body h3 { font: 800 clamp(40px, 5vw, 68px)/1 Rubik, sans-serif !important; margin: 14px 0 12px !important; letter-spacing: -.01em; color: #fff; }
body.et-home .mm-body p { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: #a5abaa; max-width: 34ch; }
body.et-home .mm-stats { display: flex; gap: 26px; margin-bottom: 22px; }
body.et-home .mm-stats b { display: block; font: 800 24px/1 Rubik, sans-serif; color: var(--y); }
body.et-home .mm-stats small { display: block; margin-top: 5px; font-size: 11px; color: #7f8685; }
body.et-home .mm-btns { display: flex; gap: 10px; flex-wrap: wrap; }
body.et-home .mm-cta, body.et-home .mm-q { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font: 700 14px Rubik, sans-serif; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
body.et-home .mm-cta { color: #16130a; background: var(--y); }
body.et-home .mm-cta i { font-style: normal; transition: transform .2s; }
body.et-home .mm-cta:hover { transform: translateY(-2px); background: #ffd84d; }
body.et-home .mm-cta:hover i { transform: translate(2px, -2px); }
body.et-home .mm-q { color: #eceeee; border: 1px solid rgba(255,255,255,.2); }
body.et-home .mm-q:hover { border-color: var(--y); color: var(--y); }

@media (max-width: 860px) {
  body.et-home .et-modes.mm { flex-direction: column; height: auto; }
  body.et-home .mm-p { flex: none; height: 88px; transition: height .7s cubic-bezier(.2,.8,.2,1), border-color .4s; }
  body.et-home .mm-p.on { height: 470px; }
  body.et-home .mm-num { font-size: 56px; top: 14px; }
  body.et-home .mm-vert { writing-mode: horizontal-tb; transform: none; left: 110px; bottom: auto; top: 50%; margin-top: -14px; font-size: 24px; }
  body.et-home .mm-img { height: 62%; }
  body.et-home .mm-p:not(.on) .mm-img { opacity: 0; }
  body.et-home .mm-p.on .mm-img { left: 76%; height: 50%; top: 14px; bottom: auto; }
  body.et-home .mm-body p { max-width: 26ch; }
  body.et-home .mm-body { width: calc(100% - 44px); }
}
@media (prefers-reduced-motion: reduce) { body.et-home .mm-p, body.et-home .mm-p * { transition: none !important; } }
