/* MDC NRG Istanbul — главная «Наследие» (2026-11-16). Всё под #mdc-legacy: стили темы и Bootstrap не перебивают. */
#mdc-legacy{--lg-line:rgba(255,255,255,.85);--lg-red:#C11717;--lg-red-hot:#e02020;--lg-muted:#a3a3ad;--lg-pad:max(20px,3vw);
  background:#111;color:#fff;font-family:Montserrat,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;border-top:1px solid var(--lg-line)}
#mdc-legacy *{box-sizing:border-box}
#mdc-legacy a{color:inherit;text-decoration:none}
#mdc-legacy h1,#mdc-legacy h2,#mdc-legacy h3{font-weight:900;text-transform:uppercase;letter-spacing:0;margin:0;color:#fff}
#mdc-legacy p{margin:0}
#mdc-legacy img{display:block;max-width:none}
/* первый экран */
#mdc-legacy .lg-hero{position:relative;height:clamp(440px,64vh,620px);overflow:hidden;border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#mdc-legacy .lg-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,17,17,.6),transparent 60%),linear-gradient(transparent 55%,rgba(17,17,17,.55))}
#mdc-legacy .lg-red{position:absolute;z-index:2;left:0;bottom:0;background:var(--lg-red);padding:34px 44px 30px var(--lg-pad);font-weight:900;font-size:clamp(44px,6vw,84px);line-height:.98;text-transform:uppercase}
#mdc-legacy .lg-red span{display:block;color:#111}
#mdc-legacy .lg-hero-txt{position:absolute;z-index:2;right:var(--lg-pad);bottom:40px;text-align:right;max-width:600px}
#mdc-legacy .lg-hero-txt h1{font-size:clamp(24px,2.6vw,36px);line-height:1.15}
#mdc-legacy .lg-hero-txt p{margin-top:10px;font-size:17px;color:#e9e9ec}
#mdc-legacy .lg-award{position:absolute;z-index:2;top:26px;right:var(--lg-pad);border:1px solid #fff;padding:9px 16px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:rgba(17,17,17,.6)}
/* сетка */
#mdc-legacy .lg-row{display:grid;border-bottom:1px solid var(--lg-line);position:relative}
#mdc-legacy .lg-row>*+*{border-left:1px solid var(--lg-line)}
#mdc-legacy .lg-c3{grid-template-columns:1.25fr 1fr 1fr}
#mdc-legacy .lg-c4{grid-template-columns:repeat(4,1fr)}
#mdc-legacy .lg-star::before{content:"";position:absolute;z-index:3;width:22px;height:22px;top:-11px;left:calc(var(--x,50%) - 11px);background:var(--star) center/contain no-repeat}
#mdc-legacy .lg-act{padding:32px 28px;display:flex;flex-direction:column;gap:8px;min-height:170px;justify-content:space-between;transition:background .2s}
#mdc-legacy .lg-act:first-child{padding-left:var(--lg-pad)}
#mdc-legacy .lg-act:hover{background:rgba(255,255,255,.05)}
#mdc-legacy .lg-act small{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--lg-muted);font-weight:700}
#mdc-legacy .lg-act b{font-size:clamp(22px,2.2vw,30px);font-weight:900;text-transform:uppercase;line-height:1.1}
#mdc-legacy .go{font-weight:800;text-transform:uppercase;font-size:13px;letter-spacing:.06em}
#mdc-legacy .lg-act--red{background:var(--lg-red)}
#mdc-legacy .lg-act--red:hover{background:var(--lg-red-hot)}
#mdc-legacy .lg-act--red small{color:#ffd0d0}
#mdc-legacy .lg-head{padding:64px var(--lg-pad) 30px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-head h2{font-size:clamp(34px,5vw,64px);line-height:1}
#mdc-legacy .lg-head h2 em{font-style:normal;color:var(--lg-red-hot)}
#mdc-legacy .lg-link{font-weight:800;text-transform:uppercase;font-size:13px;letter-spacing:.06em;border-bottom:3px solid var(--lg-red);padding-bottom:6px;white-space:nowrap}
/* шаги */
#mdc-legacy .lg-cell{padding:32px 28px 38px;display:flex;flex-direction:column;transition:background .2s}
#mdc-legacy .lg-cell:first-child{padding-left:var(--lg-pad)}
#mdc-legacy .lg-cell:hover{background:rgba(255,255,255,.04)}
#mdc-legacy .lg-num{font-size:72px;font-weight:900;line-height:1;color:transparent;-webkit-text-stroke:1.5px var(--lg-red-hot)}
#mdc-legacy .lg-step h3{font-size:20px;margin:18px 0 10px}
#mdc-legacy .lg-step p{color:#cfcfd4;font-size:15px;flex:1;margin-bottom:14px}
/* стили */
#mdc-legacy .lg-styles{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-st{position:relative;aspect-ratio:1/1.12;overflow:hidden;border-right:1px solid var(--lg-line);border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-st:nth-child(5n){border-right:0}
#mdc-legacy .lg-st:nth-last-child(-n+5){border-bottom:0}
#mdc-legacy .lg-st img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%;filter:grayscale(.35) brightness(.72);transition:transform .5s,filter .3s}
#mdc-legacy .lg-st:hover img{transform:scale(1.05);filter:none}
#mdc-legacy .lg-st::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(17,17,17,.92))}
#mdc-legacy .lg-st-n{position:absolute;z-index:2;top:18px;left:20px;font-weight:900;font-size:15px;letter-spacing:.08em}
#mdc-legacy .lg-st-start{position:absolute;z-index:2;top:16px;right:16px;background:var(--lg-red);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;padding:5px 10px}
#mdc-legacy .lg-st-t{position:absolute;z-index:2;left:20px;right:20px;bottom:18px}
#mdc-legacy .lg-st-t b{display:block;font-size:clamp(18px,1.7vw,24px);font-weight:900;text-transform:uppercase;line-height:1.05}
#mdc-legacy .lg-st-t i{font-style:normal;font-size:13px;color:#d6d6da}
#mdc-legacy .lg-st-t em{display:block;font-style:normal;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#ff6b6b;margin-top:4px}
/* цены */
#mdc-legacy .lg-prices{position:relative;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-pr{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:30px 28px;text-transform:uppercase;border-bottom:1px solid var(--lg-line);transition:background .2s}
#mdc-legacy .lg-pr:nth-child(odd){border-right:1px solid var(--lg-line);padding-left:var(--lg-pad)}
#mdc-legacy .lg-pr:nth-child(even){padding-right:var(--lg-pad)}
#mdc-legacy .lg-pr:nth-last-child(-n+2){border-bottom:0}
#mdc-legacy .lg-pr:hover{background:rgba(255,255,255,.04)}
#mdc-legacy .lg-pr b{font-size:clamp(18px,2vw,26px);font-weight:900}
#mdc-legacy .lg-pr b small,#mdc-legacy .lg-pr span small{display:block;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--lg-muted);margin-top:4px}
#mdc-legacy .lg-pr span{font-size:clamp(20px,2vw,28px);font-weight:500;white-space:nowrap;text-align:right}
#mdc-legacy .lg-pr--hot{background:var(--lg-red)}
#mdc-legacy .lg-pr--hot:hover{background:var(--lg-red-hot)}
#mdc-legacy .lg-pr--hot span small{color:#ffd0d0}
#mdc-legacy .lg-pr--note span{font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--lg-muted)}
#mdc-legacy .lg-pr--note:hover{background:none}
/* студия */
#mdc-legacy .lg-br{padding:40px 24px 36px;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center}
#mdc-legacy .lg-br-m{color:var(--lg-red-hot);font-weight:900;text-transform:uppercase;font-size:21px;line-height:1.1}
#mdc-legacy .lg-br-a{text-transform:uppercase;font-weight:700;font-size:13px;line-height:1.6}
#mdc-legacy .lg-br-a a{text-transform:none}
#mdc-legacy .lg-br-p{font-weight:700;font-size:20px;white-space:nowrap}
/* педагоги */
#mdc-legacy .lg-teachers{display:grid;grid-template-columns:repeat(6,1fr);border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-tc{border-right:1px solid var(--lg-line);padding-bottom:18px}
#mdc-legacy .lg-tc:last-child{border-right:0}
#mdc-legacy .lg-tc img{width:100%;aspect-ratio:3/4;height:auto;object-fit:cover;filter:grayscale(1) contrast(1.08);transition:filter .3s}
#mdc-legacy .lg-tc:hover img{filter:none}
#mdc-legacy .lg-tc b{display:block;padding:16px 16px 0;text-transform:uppercase;font-weight:900;font-size:15px}
#mdc-legacy .lg-tc small{display:block;padding:2px 16px 0;color:var(--lg-muted);font-size:13px}
/* вопросы */
#mdc-legacy .lg-faq{padding:6px var(--lg-pad) 36px;border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-faq details{border-bottom:1px solid rgba(255,255,255,.25)}
#mdc-legacy .lg-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 0;font-weight:800;font-size:clamp(16px,1.6vw,19px)}
#mdc-legacy .lg-faq summary::-webkit-details-marker{display:none}
#mdc-legacy .lg-faq summary::after{content:"+";flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#1e1e21;font-size:20px;font-weight:500;transition:transform .25s,background .25s}
#mdc-legacy .lg-faq details[open] summary::after{transform:rotate(45deg);background:var(--lg-red)}
#mdc-legacy .lg-faq details p{padding:0 0 20px;color:#d0d0d6;max-width:820px}
/* SEO-текст */
#mdc-legacy .lg-seo{display:grid;grid-template-columns:minmax(260px,.8fr) 1.6fr;border-bottom:1px solid var(--lg-line)}
#mdc-legacy .lg-seo-h{padding:56px 32px 40px var(--lg-pad);border-right:1px solid var(--lg-line)}
#mdc-legacy .lg-seo-h h2{font-size:clamp(28px,3.2vw,44px);line-height:1.05}
#mdc-legacy .lg-seo-h p{color:var(--lg-muted);margin-top:14px}
#mdc-legacy .lg-seo-t{padding:56px var(--lg-pad) 48px 40px;color:#d5d5da;font-size:16px}
#mdc-legacy .lg-seo-t p{margin-bottom:12px}
#mdc-legacy .lg-seo-t h3{font-size:17px;margin:24px 0 8px;letter-spacing:.02em}
#mdc-legacy .lg-seo-t a{color:#fff;text-decoration:underline;text-decoration-color:var(--lg-red);text-underline-offset:3px}
/* финал */
#mdc-legacy .lg-final{background:var(--lg-red);padding:72px var(--lg-pad);display:flex;justify-content:space-between;align-items:center;gap:30px}
#mdc-legacy .lg-final h2{font-size:clamp(36px,5.4vw,66px);line-height:1}
#mdc-legacy .lg-btn{display:inline-flex;align-items:center;justify-content:center;background:#111;color:#fff;min-height:68px;padding:0 36px;font-weight:900;text-transform:uppercase;font-size:16px;letter-spacing:.04em;white-space:nowrap}
#mdc-legacy .lg-btn:hover{background:#000}
@media(max-width:991px){
  #mdc-legacy .lg-styles{grid-template-columns:repeat(2,1fr)}
  #mdc-legacy .lg-st,#mdc-legacy .lg-st:nth-child(5n){border-right:1px solid var(--lg-line)}
  #mdc-legacy .lg-st:nth-child(2n){border-right:0}
  #mdc-legacy .lg-st:nth-last-child(-n+5){border-bottom:1px solid var(--lg-line)}
  #mdc-legacy .lg-st:nth-last-child(-n+2){border-bottom:0}
  #mdc-legacy .lg-teachers{grid-template-columns:repeat(3,1fr)}
  #mdc-legacy .lg-tc:nth-child(3n){border-right:0}
  #mdc-legacy .lg-tc:nth-child(-n+3){border-bottom:1px solid var(--lg-line)}
}
@media(max-width:767px){
  #mdc-legacy .lg-hero{height:480px}
  #mdc-legacy .lg-red{font-size:44px;padding:20px 22px 18px 20px}
  #mdc-legacy .lg-hero-txt{left:20px;right:20px;top:70px;bottom:auto;text-align:left}
  #mdc-legacy .lg-hero-txt h1{font-size:23px}
  #mdc-legacy .lg-hero-txt p{font-size:15px}
  #mdc-legacy .lg-award{top:16px;left:20px;right:auto;font-size:10px;padding:7px 12px}
  #mdc-legacy .lg-c3,#mdc-legacy .lg-c4{grid-template-columns:1fr}
  #mdc-legacy .lg-row>*+*{border-left:0;border-top:1px solid var(--lg-line)}
  #mdc-legacy .lg-star::before{display:none}
  #mdc-legacy .lg-head{padding:44px 20px 22px;flex-direction:column;align-items:flex-start;gap:16px}
  #mdc-legacy .lg-act,#mdc-legacy .lg-act:first-child,#mdc-legacy .lg-cell,#mdc-legacy .lg-cell:first-child{padding:24px 20px;min-height:0}
  #mdc-legacy .lg-num{font-size:56px}
  #mdc-legacy .lg-st-t,#mdc-legacy .lg-st-n{left:12px}
  #mdc-legacy .lg-st-t{right:10px;bottom:12px}
  #mdc-legacy .lg-st-t b{font-size:17px}
  #mdc-legacy .lg-st-t i{font-size:11px;line-height:1.3;display:block}
  #mdc-legacy .lg-st-t em{font-size:10px;margin-top:2px}
  #mdc-legacy .lg-st-start{font-size:9px;right:8px;top:10px;padding:4px 7px}
  #mdc-legacy .lg-st-n{top:12px}
  #mdc-legacy .lg-prices{grid-template-columns:1fr}
  #mdc-legacy .lg-pr,#mdc-legacy .lg-pr:nth-child(odd),#mdc-legacy .lg-pr:nth-child(even){padding:20px;border-right:0;border-bottom:1px solid var(--lg-line)}
  #mdc-legacy .lg-pr:last-child{border-bottom:0}
  #mdc-legacy .lg-br{padding:28px 20px}
  #mdc-legacy .lg-tc b{font-size:11px;padding:10px 8px 0}
  #mdc-legacy .lg-tc small{font-size:10px;padding:2px 8px 0}
  #mdc-legacy .lg-faq{padding:0 20px 24px}
  #mdc-legacy .lg-seo{grid-template-columns:1fr}
  #mdc-legacy .lg-seo-h{padding:44px 20px 0;border-right:0}
  #mdc-legacy .lg-seo-t{padding:10px 20px 40px;font-size:15px}
  #mdc-legacy .lg-final{flex-direction:column;align-items:flex-start;padding:48px 20px}
  #mdc-legacy .lg-btn{width:100%;white-space:normal;text-align:center}
}
/* языки (2026-11-16): длинные русские/турецкие подписи цен не выталкивают строку за край экрана */
#mdc-legacy .lg-pr>*{min-width:0}
#mdc-legacy .lg-pr span small,#mdc-legacy .lg-pr--note span{white-space:normal}
