/* Шапка и подвал «МегаТюмени» — статичная копия без активных ссылок (образец).
   Стили воспроизводят оригинал megatyumen.ru, но не зависят от UIkit. */

@font-face { font-family: 'MT Montserrat'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/montserrat-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'MT Montserrat'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/montserrat-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'MT Montserrat'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/montserrat-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'MT Montserrat'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/montserrat-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'MT Montserrat'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/montserrat-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'MT Montserrat'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/montserrat-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

.mt-header, .mt-footer { font-family: 'MT Montserrat', Montserrat, Arial, sans-serif; color: #fff; position: relative; z-index: 60; }
.mt-header *, .mt-footer * { box-sizing: border-box; }
.mt-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 959px) { .mt-wrap { padding: 0 30px; } }
@media (max-width: 639px) { .mt-wrap { padding: 0 10px; } }
.mt-header svg, .mt-footer svg { display: block; }
.mt-dead { cursor: default; }

/* ---- header: top bar ---- */
.mt-header { box-shadow: 0 2px 10px rgba(0,0,0,.1); font-size: 14px; }
.mt-top { height: 35px; background: #171821; box-shadow: 0 4px 4px rgba(0,0,0,.25); }
.mt-top .mt-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.mt-top-left { display: flex; align-items: center; height: 100%; }
.mt-burger { width: 18px; height: 35px; position: relative; margin-right: 10px; flex: none; }
.mt-burger i, .mt-burger i::before, .mt-burger i::after { position: absolute; left: 0; height: 2px; background: #fff; transition: width .25s; }
.mt-burger i { top: calc(50% - 1px); width: 18px; }
.mt-burger i::before { content: ''; top: -6px; width: 13px; }
.mt-burger i::after { content: ''; top: 6px; width: 15px; }
.mt-burger:hover i::before, .mt-burger:hover i::after { width: 18px; }
.mt-nav { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.mt-nav li { display: flex; align-items: center; }
.mt-nav span { display: flex; align-items: center; height: 35px; padding: 0 10px; font-size: 14px; color: #fff; white-space: nowrap; }
.mt-nav .mt-more svg { width: 35px; height: 35px; fill: #fff; }
.mt-nav .mt-spec { margin-left: 10px; background: #d00000; }
.mt-socials { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 0; list-style: none; min-width: 200px; }
.mt-socials li { color: var(--c, #fff); }
.mt-soc { display: block; color: #fff; transition: color .2s; }
.mt-soc:hover { color: inherit; }
.mt-soc svg { width: 20px; height: 20px; }
.mt-socials li:nth-child(6) .mt-soc svg { width: 23px; }

/* ---- header: bottom bar ---- */
.mt-bot { background: #3e3e3e; height: 70px; font-size: 12px; color: #adadad; }
.mt-bot .mt-wrap { display: flex; align-items: center; height: 100%; gap: 30px; }
.mt-logo { color: #fff; flex: none; line-height: 0; }
.mt-logo svg { width: 220px; height: auto; }
.mt-widgets { display: flex; align-items: center; gap: 30px; opacity: .7; color: #fff; }
.mt-widgets p { margin: 0; line-height: 16px; }
.mt-weather { display: flex; align-items: center; gap: 8px; }
.mt-weather svg { width: 34px; height: 34px; }
.mt-rate { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.mt-rate svg { width: 8px; height: 8px; }
.mt-promo { flex: 1; display: flex; justify-content: center; }
.mt-promo-img { width: 228px; height: 43px; opacity: .7; transition: opacity .3s; }
.mt-promo-img:hover { opacity: 1; }
.mt-search svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.1; opacity: .8; }

.mt-mobile { display: none; }
@media (max-width: 1199px) { .mt-nav li.mt-hide-l { display: none; } }
@media (max-width: 959px) { .mt-widgets { display: none; } .mt-nav { display: none; } }
@media (max-width: 639px) {
  .mt-desktop { display: none; }
  .mt-mobile { display: block; }
  .mt-mtop { background: #171821; height: 35px; display: flex; align-items: center; }
  .mt-mtop .mt-wrap { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #adadad; }
  .mt-mtop .mt-weather svg { width: 24px; height: 24px; }
  .mt-mbot { background: #3e3e3e; height: 56px; }
  .mt-mbot .mt-wrap { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; height: 100%; }
  .mt-mbot .mt-logo { justify-self: center; }
  .mt-mbot .mt-logo svg { width: 200px; }
}

/* ---- footer ---- */
.mt-footer { font-size: 12px; }
.mt-ftop { background: #3e3e3e; padding: 26px 0; }
.mt-frow { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.mt-ftop hr { border: 0; border-top: 1px solid #54555e; margin: 30px 0 15px; }
.mt-footer .mt-socials { max-width: 350px; }
.mt-fmain { display: flex; flex-wrap: wrap; gap: 0; }
.mt-fmain > * { margin-top: 15px; }
.mt-flinks { width: 25%; display: flex; flex-direction: column; }
.mt-flinks span { color: #fff; line-height: 180%; }
.mt-flinks .big { font-size: 15px; }
.mt-flinks .small { font-size: 12px; padding-right: 10px; }
.mt-flinks .gap { height: 18px; }
.mt-fcontact { flex: 1; }
.mt-fcontact > div { display: flex; padding: 10px 0; font-size: 12px; line-height: 180%; color: #b4b4b4; }
.mt-fcontact > div > div { width: 50%; display: flex; flex-direction: column; padding-right: 12px; }
.mt-fcontact .w { color: #fff; }
.mt-fbtn { width: 25%; }
.mt-fbtn p { font-size: 18px; color: #fff; margin: 10px 0 18px; font-weight: 400; }
.mt-button { display: inline-flex; align-items: center; justify-content: center; height: 55px; padding: 0 40px; background: #d00000; color: #fff; text-transform: uppercase; font-size: 12px; font-weight: 500; letter-spacing: .02em; border-radius: 4px; white-space: nowrap; }
.mt-fdesc { display: flex; margin-top: 16px; font-size: 11px; line-height: 180%; color: #b4b4b4; }
.mt-fdesc > span { padding-right: 10px; }
.mt-fdesc .q { width: 25%; } .mt-fdesc .h { width: 50%; }
.mt-fdesc b { color: #ddd; }
.mt-fbot { background: #171821; }
.mt-fbot .mt-wrap { display: flex; align-items: center; gap: 20px; min-height: 75px; padding-top: 20px; padding-bottom: 20px; }
.mt-fbot p { margin: 0; font-size: 12px; color: #b4b4b4; }
.mt-fbot img.age { width: 30px; height: 30px; }
.mt-fbot .grow { flex: 1; }
.mt-alt { display: flex; align-items: center; gap: 8px; color: #b4b4b4; }
.mt-alt .t { font-size: 13px; line-height: 13px; opacity: .5; }
.mt-alt .t span { display: block; font-size: 12px; line-height: 12px; }
.mt-alt img { width: 110px; height: 29px; opacity: .55; }
@media (max-width: 959px) {
  .mt-flinks, .mt-fbtn { width: 100%; }
  .mt-fbtn { text-align: center; }
  .mt-fdesc { flex-direction: column; }
  .mt-fdesc .q, .mt-fdesc .h { width: 100%; }
}
@media (max-width: 639px) {
  .mt-frow { flex-direction: column; }
  .mt-fcontact > div { flex-direction: column; }
  .mt-fcontact > div > div { width: 100%; }
  .mt-fbot .mt-wrap { flex-wrap: wrap; justify-content: center; text-align: center; }
  .mt-fbot .grow { flex-basis: 70%; }
}
@media (max-width: 374px) { .mt-fcontact > div { flex-direction: column; } }
